question

Blazej T avatar image
0 Likes"
Blazej T asked Blazej T commented

Triggering pulling

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)

pull strategy
· 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.

tannerp avatar image tannerp commented ·

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.

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

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 0 ·

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Blazej T commented

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.

· 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.

Blazej T avatar image Blazej T commented ·

@Jörg Vogel

It works, Thanks Jorg

Regards

Blazej

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.