question

Jarod P avatar image
0 Likes"
Jarod P asked Kavika F commented

Process Flow tab renamed itself, greyed out and simulation will not run.

Was working on adding some details to this simulation. When i used the dropper to select a queue in the model the simulation threw up an error and closed. When i reopened the simulation the process flow that i was working on renamed itself viewfocus, the sim will not run and the process flow isnt available in the process flow tab in the banner.

FlexSim 22.2.0
process flow
· 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.

Jarod P avatar image Jarod P commented ·

Whoever picks this up, please message me and I will send the simulation through a fileshare, it is too large to drop into the forum post.

0 Likes 0 ·

1 Answer

·
Kavika F avatar image
0 Likes"
Kavika F answered Kavika F commented

It looks like the Process Flow got corrupted and was lost. If you look at this screenshot from your model's tree, the Process Flow object is missing from the Tools/ProcessFlow folder and the Tools/Toolbox/ProcessFlow folder.

1670438832252.png What edits were you making that caused this error to occur? Do you have a previous version I could see to try to replicate your steps?

Here's a post on corruption mitigation for future reference.


1670438848138.png (47.5 KiB)
· 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.

Clair A avatar image Clair A commented ·

Hi @Kavika F , one of our customers encountered the same issue today. I am not sure how exactly this happened, but I found one way to replicate the issue:

The ProcessFlow tab is now renamed viewfocus and the view is grey:

1697742870130.png

If you look at the original model, this issue is actually not a software bug but a mistake in the Unload activity:

1697743024448.png

Here current (= the current ProcessFlow) is unloaded into an item. This does not throw any error, but when the model is reset it destroys the item + the Process Flow that was inside the item.

In the example above, it is obviously an error to set current for the Item parameter. However this obvious error is one of the available options in the picklist:

1697743329792.png

Do you think that it is misleading to suggest the current variable in a General Process Flow, since there is no instance object, but current is instead a reference to the Process Flow itself ?

0 Likes 0 ·
1697742870130.png (5.2 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Clair A commented ·
@Kavika F there should already be a ticket to consider exactly this (from another distributor post)
0 Likes 0 ·
Kavika F avatar image Kavika F ♦ Jason Lightfoot ♦ commented ·

@Clair A, the parentheses next to current stating (Instance Object) is an implication that it should be used with an Instanced Process Flow. However, I think it may be safer to remove it from that list. I'll bring this up to the dev team.

@Jason Lightfoot, I couldn't find a ticket so I'll make another one. If the first one reappears then we can link them together.

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.