How to convert string type?

How to convert string type?

KJH
Not applicable
142 Views
4 Replies
Message 1 of 5

How to convert string type?

KJH
Not applicable

[ FlexSim 23.2.2 ]

cap-2024-11-06-04-23-04-586.png

I made a label as "mylabel" that shows location of the current flowitem

cap-2024-11-06-04-17-50-102.png

I've tried to convert this label to the form of string using valule.getpath(), but the old place comes up.

It's there wrong?

0 Likes
Accepted solutions (1)
143 Views
4 Replies
Replies (4)
Message 2 of 5

sebastian_canas9DYX7
Collaborator
Collaborator
Accepted solution

@KJH ,

What if you try:

Object involved = current.last.name

If you want to get the name of the object, that syntax should do.

0 Likes
Message 3 of 5

logan_gold
Community Manager
Community Manager
This works, except you'll want to use it for the line with value:
Variant value = current.name;
0 Likes
Message 4 of 5

KJH
Not applicable

Thank you! How can I write the label value to the process flow as well? Only this label has a different value.

0 Likes
Message 5 of 5

sebastian_canas9DYX7
Collaborator
Collaborator
@KJH,

Could you send the code of Process Flow?

0 Likes