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