question

hhsa avatar image
0 Likes"
hhsa asked Jeanette F commented

Using token item labels in a list

I create objects in my process to which I assign label (duree_conser_init) and send them to a list. I want to use them to update when they go into the list. I tried using Expression but it didn't work. Can you help me?1708163052167.png1708162840150.png

FlexSim 23.0.13
labelslistexpression field
1708162840150.png (36.0 KiB)
1708163052167.png (23.0 KiB)
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
@hhsa , can you attach an example model?
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @hhsa, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

If you're pushing the item to the list then it is the value so you just need:

value.duree_conser_init - getentrytime(value)  // if that's the rest of the expression.

since value is the item.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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