question

KJH avatar image
0 Likes"
KJH asked Sebastián Cañas commented

How to convert string type?

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?

FlexSim 23.2.2
flexscript
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Sebastián Cañas avatar image
0 Likes"
Sebastián Cañas answered Sebastián Cañas commented

@KJH ,

What if you try:

Object involved = current.last.name

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

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Logan Gold avatar image Logan Gold ♦♦ commented ·
This works, except you'll want to use it for the line with value:
Variant value = current.name;
0 Likes 0 ·
KJH avatar image KJH Logan Gold ♦♦ commented ·

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

0 Likes 0 ·
Sebastián Cañas avatar image Sebastián Cañas KJH commented ·
@KJH,

Could you send the code of Process Flow?

0 Likes 0 ·