Exporting workflows as text
A workflow can be exported from the Workflow Builder application to a text file. This text file contains a text-based model of the workflow logic.
About this task
Procedure
- Select a workflow from the main List Template view, or the
List All Revisions view of the Workflow Builder application. Only one workflow can be exported at a time.
- Click Text Export. Specify a location
and file name to save the file to the system. Individual workflows are saved with a .cld file extension.
- Use a text editor to examine the exported workflow.
Example
In this example, the My Profile - Create workflow is shown as it appears in the Workflow Builder application and then as it appears when exported as text.


/*
* Generated from System: "My Profile - Create"
* Workflow Version: 10
* Workflow Status: "Published"
*
* Generator Version: 1
*/
/**
* Updates the Group and License Access sections
*/
Start ( )
[
mbo("triPeople.My Profile");
name("My Profile - Create");
async("CREATE");
propagateIntegrationStatus
]
/**
*
* @label Get triPeople record
*/
RetrieveRecords GetTriPeopleRecord
[
mbo(triPeople.triPeople);
from(Start.record, useAssociation("Associated To", triPeople.triPeople))
]
If (GetTriPeopleRecord.record.Detail.triInitialPwdResetBL == "TRUE" ) {
/**
*
* @label WF: Require Password Change Portal Update
*/
CallWorkflow (triPeople.My Profile, "My Profile - Synchronous - Require
Password Change Portal Update")
[
mbo("triPeople.My Profile");
records(Start.record)
]
}
Else {
/**
*
* @label Update Access My Profile
*/
TriggerAction
[
mbo("triPeople.My Profile");
formulaRecalc(asNeeded);
action("UPDATEACCESS");
target(Start.record);
triggerActionWhen(immediately)
]
}
End