question

Scott Ainsworth avatar image
0 Likes"
Scott Ainsworth asked Matthew Gillespie edited

How to merge parent tokens

I have a process flow where token creates children. The token then splits and each branch creates children. I would like join/batch the two tokens together again and then have the single outgoing token be the parent of all the children. I attached a model that I've been messing with. The best I've been able to do is get the array copied that has the token Ids but it does not seem to be a real parent child relationship. When I click on a token at the end it only shows lines to its original children. It does not seem to have adopted the children from the other branch.

merge-tokens.fsm

FlexSim 18.2.2
process flowtokenssplitchild tokensparent token
merge-tokens.fsm (24.7 KiB)
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

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

There isn't currently a way to reassign a token's parent.

However, I was able to modify your model slightly so that all the child tokens are created as children of the original token. The split creates the new token as a child token. The parent token creates more child tokens, but the child token creates sibling tokens.

createallaschildren.fsm


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.