question

Li ze avatar image
0 Likes"
Li ze asked Jordan Johnson answered

How to debug in the List Expression Field code ?

How to watch the value of variant "value" in the list expression field?

20221114222220.png

FlexSim 22.1.2
debugginglist expression field
20221114222220.png (24.5 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.

Andrew O avatar image Andrew O commented ·

Hi @Li ze, was Joerg Vogel'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 unaccept and comment back to reopen your question.

0 Likes 0 ·
Jordan Johnson avatar image
1 Like"
Jordan Johnson answered

@Jason Lightfoot 's suggesting is correct; you need to use the debug() command. This is because the Process Flow List activity makes a copy of its internal list for each instance of the flow. An instanced flow will make one copy for every instance. Even a general flow still has one instance, so the list is a copy.

If you are using a general flow or a global list in an instanced flow, you could consider using a Global List in the toolbox, and pointing your Process Flow list to the Global List.

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
2 Likes"
Joerg Vogel answered Li ze commented

View List entries.

· 7
5 |100000

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

Li ze avatar image Li ze commented ·

Thanks a lot.

But it doesn't work with PF's internal list.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Li ze commented ·

There's a View Entries button on the list activity. Are you saying that doesn't work?

1668604599107.png

1 Like 1 ·
1668604599107.png (14.5 KiB)
Li ze avatar image Li ze Jason Lightfoot ♦ commented ·

I mean, I can't debug code in the PF internal list's Feild.

1669033080550.png

0 Likes 0 ·
1669033080550.png (61.2 KiB)
Show more comments
Joerg Vogel avatar image Joerg Vogel Li ze commented ·
If you are able to edit list properties from quick properties panel, then you find there the button to view list entries, too.
0 Likes 0 ·

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.