![](/images/new-backgrounds/1268738/268738601x1.webp)
Conductor Script Commands
You can use the SetPassword Script command to set a password, change an existing password to a new password, or delete an existing password.
SetPrimary
The SetPrimary command sets the specified engine unit for the current engine as the primary unit.
SetPrimary unit_name
Argument Description
unit_name The specified engine unit.
The SetPrimary command is available only when an engine is current, so you must first use the FindEngine Script command to set the current engine. The specified engine unit must also be running.
The SetPrimary command is normally used to switch the role of the primary and backup engine units. If the specified engine unit is the backup unit, the primary unit will be placed in a STANDBY state and the backup unit will then be placed ONLINE. If the specified engine unit is the primary unit, nothing will be done.
The SetPrimary command makes the specified engine unit the current component.
SetQueuedActivityPriority
The SetQueuedActivityPriority command reprioritizes activities in an activity queue by setting the prioritizing process attribute for a specified activity to a specified value.
SetQueuedActivityPriority process_id activity_id prioritizing_value
Argument | Description |
|
|
process_id | The process instance in which the activity was created. |
activity_id | The activity ID of the specified activity. |
prioritizing_value The value to be assigned to the queue prioritizing process attribute of the process instance.
Appendix A Conductor Script Commands 301