How to get current activity string name

How to get current activity string name

stan.e.davis
Advocate Advocate
9 Views
2 Replies
Message 1 of 3

How to get current activity string name

stan.e.davis
Advocate
Advocate

[ FlexSim 16.2.0 ]

I'm sure this is an easy one. I need to get the name of the current token's activity in string format. I have tried getnodestr(getactivity(token)) and tostring(getactivity(token)), but they do not work.

Thanks.

Accepted solutions (1)
10 Views
2 Replies
Replies (2)
Message 2 of 3

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

You want the getname() command:

getname(getactivity(token))


Matthew Gillespie
FlexSim Software Developer

Message 3 of 3

stan.e.davis
Advocate
Advocate

Thanks Matt

0 Likes