question

TomasAE avatar image
0 Likes"
TomasAE asked TomasAE commented

Changing the name of different products out of a processor

I'm having difficulties changing the names of specific items when the processor is finished. Meaning I want to change the name of Item1 to Item5 etc. Does anybody know how to do this either by code or process flow?

Thanks in advance.

Changing ItemNames.fsm

FlexSim 20.0.10
processorname change
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

Lars Jacobsen avatar image
2 Likes"
Lars Jacobsen answered TomasAE commented

You can reference the item name using token.item.name. Thus add a custom code activity and add a code snippet as shown below

1649239617084.png



1649239617084.png (29.0 KiB)
· 1
5 |100000

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

TomasAE avatar image TomasAE commented ·

Thanks Lars,

Used it a bit differently but just the help i needed

1649242366254.png

0 Likes 0 ·
1649242366254.png (24.3 KiB)