question

King-Ki F avatar image
0 Likes"
King-Ki F asked Regan Blackett commented

Token Flow in Push and Pull From List

Hello,

I'm not understanding how Push to List and Pull from List works. In the subflow "Batch Prep" within the attached model, I push a token to the List and used the Max Wait Time to continue through my process flow. In another subflow "Tote Delivery", I pull from the list.

I wanted to use this method with a resource so I could only pull from the list when a resource is available. However, it seems like all the tokens in my list are pulled. Why does this happen when I've only specified I want 1 QTY to be pulled out?

ClusterPickingTest.fsm

Choose One
pull from listpush to 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.

1 Answer

Regan Blackett avatar image
0 Likes"
Regan Blackett answered Regan Blackett commented
Are you intending for the tokens Pushed in the subflow to continue being entries even after the max wait time fires? Because right now the timer is expiring which automatically removes them as entries from the list. Check the 'Keep on List on Early Release' check box instead.


This might introduce another problem though as these are child tokens, which means when they hit the finish activity in that subflow they won't actually finish, as we don't usually let you destroy tokens (like a Finish or Sink would) that are still interacting with a shared asset like a List.


You may need to have those tokens push something other than themselves onto the list in order for the children to properly finish but also keep something on the list. For example, rather than saying the "Push Value" property on the push activity is 'token', maybe it should be 'token.item'?
· 11
5 |100000

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

King-Ki F avatar image King-Ki F commented ·

I wanted the tokens to be pushed to the list and have my process continue. I was using tokens to create a Tote Delivery Task. I would have another process that would execute the Tote Delivery Task. Hope that answers the questions.

I wanted to push token because I wanted the labels on the token to be within the list as well, which would allow me to make sure I've designed the process flow correctly by keeping track of the labels.

When I use the "Keep on List on Early Release", the tokens are still stuck.




0 Likes 0 ·
Regan Blackett avatar image Regan Blackett ♦ King-Ki F commented ·

Yes I anticipated that in my second paragrah. Since you want the process to continue, my recommendation would be to assign any labels you need for the List to be assigned to the tote, set up custom Fields in the List properties and have your subflow tokens push the tote to the list.

0 Likes 0 ·
King-Ki F avatar image King-Ki F Regan Blackett ♦ commented ·

After running through the process flow, I think I've made a mistake on how I have the tokens flowing. What do I do if I want the process to not continue? I mean to only rely on a Pull From List.


ClusterPickingTestv2.fsm

0 Likes 0 ·
Show more comments