I have created workflow in App 1, if i check in XML it shows hostname ="App1" and scheduled it daily to run.
however when i check the task details "machine where executed" is sometimes App1 and sometimes App2.
how can i change this to always execute on App1?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @ash20 ,
Go to workflow property > execution tab and select your workflow servers in 'Default affinity'.
If your installation includes several workflow servers, use this field to choose the machine which the workflow will be executed on.
For more details, Refer here
Views
Replies
Total Likes
Hi @ash20 ,
Go to workflow property > execution tab and select your workflow servers in 'Default affinity'.
If your installation includes several workflow servers, use this field to choose the machine which the workflow will be executed on.
For more details, Refer here
Views
Replies
Total Likes
Dear @ParthaSarathy ,
I did not had any affinity so
1. I created App1 and App2 by entering in the 'Default affinity'.
2. I logged in both the app servers and added below in config-<instance>.xml file
application server 1 - <wfserver autoStart="true" affinity="App1"/>
application server 2 - <wfserver autoStart="true" affinity="App2"/>
3. nlserver config -reload
but now if i run the workflow it is not starting (if i select affinity).
Views
Replies
Total Likes
@ParthaSarathy got it, there needs to be a comma in the end
application server 1 - <wfserver autoStart="true" affinity="App1,"/>
application server 2 - <wfserver autoStart="true" affinity="App2,"/>
Views
Replies
Total Likes