do-start-workflow

Starts the workflow specified by workflow-id for the recipient specified by <arg-dn> on the User Application server specified by the URL using credentials specified by ID and <arg-password>. The recipient must be an LDAP format DN of an object in the directory served by the User Application server. The additional arguments to the workflow may be specified by named <arg-string> elements. The number of the strings and the names used are dependent on the workflow to be started.

Remark

There are some names that have special meaning and are available regardless of the workflow being started.

  • :InitiatorOverrideDN: The LDAP format DN of the initiator of the workflow, if other than the User used to authenticate.

  • :CorrelationID: An identifier used to correlate related workflows.

If any type of error occurs while starting the workflow, the error string is available to the enclosing policy in the local variable named error.do-start-workflow. Otherwise that local variable is unavailable.

Example

<do-start-workflow workflow-id="CN=ApproveCellPhone,CN=RequestDefs,CN=AppConfig,CN=UserApplication,CN=DriverSet,O=novell" url="http://localhost:8080/IDMProv" id="cn=WorkflowAdmin,o=People"> <arg-password>  <token-named-password name="workflow-admin"/> </arg-password> <arg-dn>  <token-parse-dn src-dn-format="qualified-slash" dest-dn-format="ldap">   <token-xpath expression="@qualified-src-dn"/>  </token-parse-dn> </arg-dn> <arg-string name="provider">   <token-text>ACMEWireless</token-text>  </arg-string>  <arg-string name="reason">   <token-text>new hire</token-text>  </arg-string> </do-start-workflow>

Allowed Content

Element

Description

arg-password

Password argument.

arg-dn

DN argument.

arg-string

String argument.

Attributes

Attribute

Possible Values

Default Value

disabled

true | false

True if this element is disabled.

false

id

CDATA

The LDAP format DN of a user authorized to start workflows on the User Application server.

Supports variable expansion.

#REQUIRED

notrace

true | false

True if this element should not be traced during execution of the policy.

false

url

CDATA

The URL of the User Application server where the workflow runs.

Supports variable expansion.

#REQUIRED

workflow-id

CDATA

The LDAP format DN of the workflow to start.

Supports variable expansion.

#REQUIRED

Content Rule

( arg-password , arg-dn , arg-string * )

Parent Elements

Element

Description

actions

Actions that are performed by a <rule>.

arg-actions

Actions argument.