cancel
Showing results for 
Search instead for 
Did you mean: 
barwapk
Frequent Member
Frequent Member

Queue in workflow

Hello,

I have specyfic workflow with external node (enabling the script on thirdparty software). The problem is that It can do one script at the time.

Is there a way to make a queue in worklow to make one job and wait to do next one only when the first is finished?

Best Regards

Piotr

0 Kudos
2 Replies
Eric-Xrx
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Queue in workflow

Hmm, difficult problem. FF Core is naturally a multi-threaded application and thus runs multiple jobs at once.

A few thoughts:

1. it is possible to set FF Core to be single threaded and thus only a single job will process at a time.  In 6.1 this is in the Core Configure tool.  But be aware this will effect ALL jobs.  The value to change is maxSimulJobs to 1.

2. Does the 3rd party application run in a fixed amount of time?  the Collect component can delay jobs a fixed amount of time.

3. The only other method I can think of would be to build a queueing method in scripts outside of Core.  Jobs would need to be added to a temp queue (store files via jobID)  another process would make the actual calls to the 3rd party application.

0 Kudos
barwapk
Frequent Member
Frequent Member

Re: Queue in workflow

Problem solved, I added a random delay at the beginning of the script.
0 Kudos