...
Pros | Cons |
---|---|
|
|
|
|
|
|
| |
|
Logging
A WORKFLOW_LOG
entry is created for each Workflow Instance that is updated by this API, with a WORKFLOW_VALUE_LOG
entry for each individual Attribute that is included in the payload.
Since this is not considered a “Workflow operation”, some of the columns in WORKFLOW_LOG
contain specific values:
.FROM_STEP_ID
= 0.FROM_STEP_NUMBER
= 0.FROM_STEP_TITLE
= “** /SetAttributeValues **”.TO_STEP_ID
= 0.TO_STEP_NUMBER
= 0.TO_STEP_TITLE
= “** /SetAttributeValues **”.ACTION_ID
= 0.ACTION_TITLE
= “** /SetAttributeValues **”.PERSON_ID
= 1 (System user).LOGGED_IN_PERSON_ID
= 1 (System user)
Supported Entities / Workflow types
The API currently supports Activity
, Activity Instance
, Learning Plan Instance
, Member Role
, and Activity Offering Instance
Attributes.
Workflow Type | Rules |
---|---|
Create Activity | The Workflow Instance must be Incomplete. |
Complete Activity | |
Complete Learning Plan | |
Complete Create Offering | |
Grant Role / Edit Role | The status of the Workflow Instance does not matter. |
Supported Attribute data types
...
Info |
---|
See also Workflow Attributes for the list of “Importable” data types |
Activity Lookup
Address
Boolean
Competency Classification
Technically importable, but not actually supported
Date
Date Time
Entity Image
Long Text
DateMember
Pick List
Member Role
Boolean
Vimeo SourceMulti-Select List
Numeric
PD In Focus Source
Multiselect Pick List
Tag List
Entity Image
Rating
Competency Classification
Date Time
Activity Lookup
Rich Text
Member Role
AddressRich Text
Short Text
Tag List
Vimeo Source
Using the API
Calling this API requires an API Key with the SetAttributeValues
permission.
...
Field | Description | ||
---|---|---|---|
| One of these values:
| ||
| The ID of the Workflow instance.
| ||
| An array of attribute values to set. | ||
| Attribute Definition Id ID of the attribute to set. Must be a valid Attribute defined for the specified entity type. | ||
| Value to set.
|
...