question

Pranav Purohit avatar image
0 Likes"
Pranav Purohit asked Pranav Purohit commented

Pull specific token from list

Hello All,

Thank you very much for being here to help. I am glad to have experts like you here for advise.

Currently I am working on a process flow and created a list where tokens are pushed in one process flow. I want to pull that specific token in another process flow. I have tried to put logic with triggering event and 'pull from list' but it is not working and I am trying to find my error. For better understanding I have attached screenshots of my problem here. If you could please help me here, that would be great. Again thank you very much for your efforts in helping me.

Regards,
Pranavpush-to-list.pngtriggering-event.pngpull-from-list.png

FlexSim 16.2.2
pull from list
push-to-list.png (17.7 KiB)
pull-from-list.png (31.5 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

Kari Payton avatar image
0 Likes"
Kari Payton answered Pranav Purohit commented
@Pranav Purohit

Without looking at the model, it's hard to say what the issue is. Is your list a global list? This could be the issue. I've attached a model as an example.

listshelp.fsm


listshelp.fsm (19.8 KiB)
· 8
5 |100000

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

Pranav Purohit avatar image Pranav Purohit commented ·

Hello Kari,

Thank you very much for sharing sample model for an example.

I could have attached the model but its too huge and complex that it will consume lot of time to understand. But it is exactly similar scenario as the sample model you just shared.

Two process flows: one pushes token to list another trying to pull the token.

I do have global list shared in two process flows.

I am just trying to use Trigger source instead of scheduled source and it triggers only for 1st token.

Like say, there are 10 tokens of same partition ID, it allows only 1st to pull.

I need help here in the trigger properties. The current properties screenshot is attached below. please let me know if I need to provide any more data which help to understand the problem.

Again thanks a lot for helping me here.

capture.png

0 Likes 0 ·
capture.png (20.0 KiB)
Kari Payton avatar image Kari Payton Pranav Purohit commented ·

@Pranav Purohit Have you tried using a zone to limit only 1 pull? Could you change the example model to be more like your actual model?

0 Likes 0 ·
Pranav Purohit avatar image Pranav Purohit Kari Payton commented ·

@Kari Payton

I couldn't see my earlier reply. Therefore attaching the model again.

I didn't use zone. I want all the tokens to be in not just one.

Please review my attached model6933-listshelp-revised.fsm

0 Likes 0 ·
Show more comments
Pranav Purohit avatar image Pranav Purohit commented ·
@Kari Payton

Hi Kari, the tokens need to go as soon as they are created. I can't allow all of them to create at once. Thank you for your efforts to solve my problem Kari.

@Sam Stubbs Thank you for helping me here. I hope we get a solution for this.

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ Pranav Purohit commented ·

I'm not sure the purpose of pushing to a list, to then immediately pull from the list in another process flow. I'm not sure what your purpose is, or the bigger picture of the model. Perhaps if you could help us know what you're trying to do in the long run, we could help you find a work around. (For example instead of pushing to a list, which creates a token to pull from the list. Could you just use the Create Token activity?)

0 Likes 0 ·
Pranav Purohit avatar image Pranav Purohit commented ·
@Kari Payton

I can't allow tokens to get created at once. They need to follow the order.

@Sam Stubbs I am working on two different processes. Few tokens follow normal process. Others start at different process flow but eventually continue to the first one. For that purpose I need them to follow order and continue to other process flow.
0 Likes 0 ·