When trying to execute a deployment against agents of a particular server type, the deployment fails with the following error:
Unexpected error on server [Could not find all needed dependency mapping needed to create a process run. unsatisfied links (sourceJobServerId-->targetServerTypeId): {3605496=[3010419]}. Please Select one agent for the server type(s): [st1]]. Please refer to server logs with timestamp [2017-01-04 00:37:53].
If this error occurs after verifying that the involved agents are correctly assigned to their respective server types, then the error means that dependency was broken when an agent moved from one server type to another.
Understanding this cause requires some illustration. Consider the following example: a process employs more than one server type. For this example we will refer to these as "ST1" and "ST2" (Server Type 1 & 2). The process includes an action or flow associated with ST1 progresses into another action or flow associated with ST2. Each server type has multiple agents assigned to it.
For this example, we will assume the following:
The above scenario will allow for a successful deployment. Next, however, consider if one of the following changes is made:
In the above scenario, after the change, the deployment will fail with the error in question because no dependency was defined for the agent after it was added or moved.