Info |
---|
Directly sets Attribute values, bypassing the Workflow Engine. Introduced in 11.0.30. To perform Actions and Behaviors as well, API/WorkflowInstance/PerformStep |
Note |
---|
This page is protected from public access. This API API is considered experimental and is intended for internal use only at this time. There are too many limitations and risk factors for this to be used by external callers without our guidance. This API bypasses the Workflow Engine, which allows it to perform highly performant updates, but at the cost of increased risk of shooting yourself in the foot. As an experimental API, the schema and feature set may change from release to release. Do not build mission-critical integrations around this API without talking to a senior technical consultant first. |
Note |
---|
This API only supports Extrinsic Attribute data types that store a single, simple value in the Intrinsic Attributes are not currently supported. |
...
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
Date
Pick ListMember
Member Role
Boolean
Vimeo SourceMulti-Select List
Numeric
PD In Focus Source
Multiselect List
Tag List
Entity ImagePick List
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.
|
...