I do not recommend sync for your use case; https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/12.3/Automic%20Automation%20Guides/help.htm#AWA/Objects/obj_Sync.htm?TocPath=Using%257CDesigning%257CObject-Specific%2520Properties%257CSync%2520(SYNC)%257C_____0
As I understand it, all that you want to do is to have JobA run with 3 slots from ChainB, and unlimited slots from ChainC, and you would like to accomplish this with two different queues.
Jared and I have already posted simple solutions to accomplish this.
I've also noticed that workflow task precondition rules have a "change queue" action available which provides another very simple solution.
Another solution is to clone JobA so that you have two of them; JobA.3 and JobA.unlimited. But then you would have two different sets of run history which may or may not be desirable.
Will ChainB and ChainC ever run at the same time, and if so, does this create another problem for JobA?
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
------------------------------
Original Message:
Sent: 10-14-2021 02:00 PM
From: guddeti
Subject: Auto change of Queue
Thanks Pete,Jared for your responses on it.
I am referring Automic Workload Automation(Which I mean Workflow).
If possible could you please let me know on how to do sync control option(any Document related to it also helpful for me)
Appreciate your Help on it.
Original Message:
Sent: 10-14-2021 01:53 PM
From: Pete Wirfs
Subject: Auto change of Queue
I like the sync control option as well. You can do some clever stuff with it.
However the term 'chain' suggests he may be referencing the Appworx product, and not Automic Workload Automation?
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
Original Message:
Sent: 10-14-2021 01:24 PM
From: Jared Kessans
Subject: Auto change of Queue
I assume by "chains" you mean workflow/jobplan/process flow.
The issue by changing the max queue slots if both workflows run at the same time, the queue count at any moment will impact both workflows.
Maybe setting it up with separate queues with a max slot of 3 and the other with 20 and just run the workflow using either the method I mentioned or the easier method that Pete mentioned.
Another option would be to use a sync object to control how many objects are running at one time, but the setup is a little more involved.
Original Message:
Sent: 10-14-2021 01:14 PM
From: guddeti
Subject: Auto change of Queue
Hi All,
Sorry, for the Confusion if I posted it in Wrong Way.
My Question is:
I am having a Common Job with name as JobA where it is allocated with a Queue name as XYZ which is having a Max Slots of 200.
1)I am using this JobA in 2 different chains Known as B and C. Where on top of my B chain I would like to pass Max slots of 3 to this JobA it means even if I am having like 20 Jobs(with same JObA) in same B chain then that particular Queue XYZ needs to run only 3 jobs in that chain it means rest of the 17 Jobs Should waiti for Queue Slot because I am passing the Max Slot of Queue as 3.
The above max slots one Should not cause any issue to my same JobA which is running in chain C to have the XYZ Queue limit Set over to 200.
Please let me know if I didn't elaborate the issue in proper Way.
Original Message:
Sent: 10-14-2021 01:03 PM
From: Pete Wirfs
Subject: Auto change of Queue
Another option to consider is the "Queue of Child Tasks" feature under the Attributes of ChainB and ChainC. If you set this to "Inherit from Queue", then JobA will automatically be directed to the same queue that the Chain runs in.
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
Original Message:
Sent: 10-12-2021 02:23 PM
From: guddeti
Subject: Auto change of Queue
Hi Team,
We do have a scenario of restricting the Max Slots of Queue.
Scenario: JobA is my Common Job which is running from different chains(B,C) but we do have a Scenario where the Queue limit needs to restricted to Max Slots of 3 for the common JobA which runs in Chain B but Chain C should have its Own Slots(Which are Unlimited) for the Common JobA.
Can we Know on how we can achieve this?
While we make a try by using Modifying System option then the Queue Slots are becoming as 3 for the JobA even if it runs from Chain C(which needs to have Unlimited Slots) .