Triggering pulling

Triggering pulling

b_turostowski
Contributor Contributor
538 Views
3 Replies
Message 1 of 4

Triggering pulling

b_turostowski
Contributor
Contributor

Hello,

Is there any possibility to trigger pulling by message or any other way from external object (If pulling is triggered while input queue is empty, it will block the station. I would like to re-trigger after some time)

0 Likes
Accepted solutions (1)
539 Views
3 Replies
Replies (3)
Message 2 of 4

tanner_p
Not applicable

If you had a model you could upload, that would be helpful to answer your question.

Here's some ideas to get started with:

You could use a max wait timer on the "Pull from List" activity so that if the token has to wait to pull an item, it will be sent to a "Custom Code" activity that will close the output port of the queue.

15119-pull-from-list-trigger.png

Then, you could have another "Custom Code" activity that would trigger the port to open it.

15120-pull-from-list-trigger-open.png

Not sure if this is what you're looking for, so comment back with more information on what you're hoping to do in your model and we will help you.

0 Likes
Message 3 of 4

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Especially the pull option of the flow tab of an object gets into a blocked state, if the pull requirement doesn't find a suitable item to be pulled. It should start, if a previous object is able to send an item again.

You can try the commands.

evaluatepullcriteria(..)

or

pullitem(..)

Please look into the command manual to get the syntax and parameters parsed into these functions.

0 Likes
Message 4 of 4

b_turostowski
Contributor
Contributor

@Jörg Vogel

It works, Thanks Jorg

Regards

Blazej

0 Likes