Workflow Behaviors
Summary
Workflow Behaviors allow many different types of functionality to be attached to a Workflow Action button. They are often used to send notifications and trigger 3rd party integrations.
See also: http://help.learningbuilder.com/learningbuilder/page.aspx?pageid=behaviors
Overview
Workflows provide a powerful way of describing a data collection and review process, but real-world implementations need to do much more than that to be useful. Workflow Behaviors allow those data entry forms to be extended in many different ways, such as:
Sending email notifications to alert people in a change in status
Triggering other Workflow Actions, to chain business events together
Updating data attributes of the current Workflow that were not present on the data entry form (usually used in conjunction with Template attributes or comparison rules to implement custom business rules)
Updating other Workflows, to implement business scenarios that cut across multiple people or applications
Triggering 3rd party integrations
Behaviors can be attached to these aspects of a Workflow:
Workflow Actions
Workflow Steps (for scheduled execution)
Workflow Completion Status (for execution when the Workflow reaches a terminal state with a specific status)
Behavior triggers
Behaviors can be "triggered" in multiple ways:
Workflow Action Trigger: Behaviors can be attached to specific Actions and are executed whenever the Action is performed (either through the UI or programatically)
Completion Status Trigger: Behaviors can be attached to the terminal states (either successful or unsuccessful) and are executed whenever the Workflow is moved into that state
Scheduled Interval Trigger: Behaviors can be attached to specific Workflow Steps and are executed on a recurring basis (daily, monthly, etc) by the nightly "Scheduled Task" automation
Conditional execution
As of 10.4, Behaviors can be conditionally executed based on a Comparison Rule. See Conditional Behaviors
Behavior Types
(Note: some Behaviors apply only to specific Workflow Types)
For JSON argument structure and field reference, see Behavior Arguments JSON Reference.
Behavior | Function / Notes | Supported Triggers | Supported Workflows |
|---|---|---|---|
Add Member Role to Print Queue | Adds the "owning Member Role" (which is different for each Workflow type) to a Print Queue, so that one or more printed documents will be generated. The target queue can be specified explicitly, or the queue name can be derived from a Workflow Attribute. |
|
|
Call External API | Calls an external API and stores the result in a specified Attribute |
|
|
Call Pearson VUE APIs | Sends candidate and eligibility data to Pearson VUE using the v2 API integration. Extends Call External API. |
|
|
Claim PSI Atlas Exam Results | Claims exam results from PSI Atlas and stores disposition, score, and other result data in attributes. |
|
|
Create or Update Seat Assignment | Creates or updates a seat assignment record, with per-field source strategies for offering code, seat number, capacity, and status. |
|
|
Generate PDF | Evaluates a System Template, converts the result to a PDF, and stores the file in an S3 File Library or an S3 Upload Attribute. |
|
|
Issue or Replace Credly Badge | Issues a digital badge through the Credly Acclaim platform. |
|
|
Perform Workflow Action Behaviors | Triggers a Workflow Action programmatically on a set of related Workflow instances without requiring a user to click a button. Several variants are available, differing in what objects are targeted: all Activity Instances on a Learning Plan, a linked Learning Plan Instance, all parent Learning Plan Instances, or the current Workflow on a scheduled interval. |
|
|
Run Stored Procedure | Immediately executes a custom Stored Procedure. Note: the changes made by this procedure might not be immediately visible to other Behaviors that were triggered at the same time, depending on which entities are currently in memory. |
|
|
Send Email Behaviors | Sends an email notification from a Workflow. Several variants are available, differing only in how recipients are identified: by Role, by Workflow Assignee, by Email Address Attribute, by Member record, or by Offering Seat Assignment. |
|
|
Send Exam Eligibility to Pearson VUE | Sends an "Authorization to Test" notification to Pearson VUE, which establishes a candidate record and allows the member to schedule their exam. |
|
|
Send Exam Eligibility to Prometric GEE | Sends an "Authorization to Test" notification to Prometric's Generic Eligibility Engine, which establishes a candidate record and allows the member to schedule their exam. |
|
|
Send Exam Eligibility to PSI Atlas | Sends an "Authorization to Test" notification to PSI's "Atlas" system, which establishes a candidate record and allows the member to schedule their exam. |
|
|
Send Exam Eligibility to Prolydian | Sends an "Authorization to Test" notification to Prolydian's system, which establishes a candidate record and allows the member to schedule their exam. |
|
|
Send to Learning Hub | Publishes a Workflow's data to the Learning Hub |
|
|
Send to Queue | Adds a custom message to a message queue for out-of-band processing. Commonly used to integrate with 3rd party APIs that do not have "first-class" support in LearningBuilder. This is an advanced configuration feature and often requires custom programming in the Integration Hub to process the messages. |
|
|
Synchronize Linked Attributes | Copies attribute values between a learning plan instance and its owning member role in a specified direction. |
|
|
Update Address Attribute From Profile Address | Updates an Address Attribute, populating it from a specified Profile Address. |
|
|
Update Cycle and Reporting Dates for Learning Plan Instance | Updates the Cycle and Reporting Dates on a Learning Plan Instance |
|
|
Update Member Role Attribute | Updates a Member Role attribute matching specified criteria. Supports Multi-Instance Member Roles. |
|
|
Update Member Role Attribute for Activity Instance | Updates a Member Role Attribute on all |
|
|
Update Member Role Attribute for Learning Plan Instance | Updates Member Role Attributes for the Member Role that owns a Learning Plan Instance |
|
|
Update Owner Profile | Updates properties of an underlying |
|
|
Update Workflow Instance Attribute | Updates a specified Attribute on the Workflow's "Write-To" entity |
|
|
Update Workflow Instance Status | Can modify the |
|
|
Related articles
Related issues |
|
|---|---|
|
|