ActiveVOS Designer BPEL for People User’s Guide

WS-HT (Human Task) Custom Functions

htd:getPotentialOwners([Task Name])

Returns the potential owners of the task.Evaluates to an empty htd:organizationalEntity in case of an error. If the task name is not present the current task is considered.

Parameter: TaskName: The optional name of the Task to retrieve data from.

htd:getActualOwner([Task Name])

Returns the actual owner of the task. Evaluates to an empty htd:user in case there is no actual owner. If the task name is not present the current task is considered.

Parameter: TaskName: The optional name of the Task to retrieve data from.

htd:getTaskInitiator([Task Name])

Returns the initiator of the task. Evaluates to an empty htd:user in case there is no initiator. If the task name is not present the current task is considered.

Parameter: TaskName: The optional name of the Task to retrieve data from.

htd:getTaskStakeholders([Task Name])

Description: Returns the stakeholders of the task. Evaluates to an empty htd:organizationalEntity in case of an error. If the task name is not present the current task is considered.

Parameters: TaskName: The optional name of the Task to retrieve data from.

htd:getBusinessAdministrators([Task Name])

Description: Returns the business administrators of the task. Evaluates to an empty htd:organizationalEntity in case of an error. If the task name is not present the current task is considered.

Parameters: TaskName: The optional name of the Task to retrieve data from.

htd:getExcludedOwners([Task Name])

Description: Returns the excluded owners. Evaluates to an empty htd:organizationalEntity in case of an error. If the task name is not present the current task is considered.

Parameters: TaskName: The optional name of the Task to retrieve data from.

htd:getTaskPriority([Task Name])

Description: Returns the priority of the task. Evaluates to '-1' in case of an error. If the task name is not present the current task is considered.

Parameters: TaskName: The optional name of the Task to retrieve data from.

htd:getInput(Part Name, [Task Name])

Description: Returns the part of the task's input message. If the task name is not present the current task is considered.

Parameters: PartName: The name of the part within the task's input message. TaskName: The optional name of the Task to retrieve data from.

htd:getLogicalPeopleGroup(Logical People Group Name, [Task Name])

Description: Returns the value of a logical people group. In case of an error (e.g., when referencing a non existing logical people group) the htd:organizationalEntity contains an empty user list. If the task name is not present the current task is considered.

Parameters: LogicalPeopleGroupName: The name of an in-scope logical people group. TaskName: The optional name of the Task to retrieve data from.

htd:union(Set 1, Set 2)

Description: Constructs an organizationalEntity containing every user that occurs in either set1 or set2, eliminating duplicate users.

Parameters: Set1: The first set - one of htd:organizationalEntity, htd:users, or htd:user. Set2: The second set - one of htd:organizationalEntity, htd:users, or htd:user

htd:intersect(Set 1, Set 2)

Description: Constructs an organizationalEntity containing every user that occurs in both set1 or set2, eliminating duplicate users.

Parameters: Set1: The first set - one of htd:organizationalEntity, htd:users, or htd:user. Set2: The second set - one of htd:organizationalEntity, htd:users, or htd:user

htd:except(Set 1, Set 2)

Description: Constructs an organizationalEntity containing every user that occurs in set1 but not in set2.

Parameters: Set1: The first set - one of htd:organizationalEntity, htd:users, or htd:user. Set2: The second set - one of htd:organizationalEntity, htd:users, or htd:user.

ActiveVOS Extensions

abxht:getTaskId([taskName])

Description: Returns the id of the WS-HT task given the people activity name. If the task name is not present the current task is considered.

Parameters: TaskName: The optional name of the task to retrieve data from.

abxht:getTaskUrl([taskName])

Description: Returns the URL to Inbox Task Detail page. If the task name is not present the current task is considered.

Parameters: TaskName: The optional name of the task to retrieve data from.

abxht:getInboxUrl()

Description: Returns the base URL to the Inbox application.