- FireStart.getTaskData(identifier)
- Gets the value of a BusinessEntityLink
- @param {string} identifier - Id of the BusinessEntityLink. The format of the variable has to be Identifier.
- @returns {string} value
- FireStart.setTaskData(identifier, value)
- Sets the value of a BusinessEntityLink
- @param {string} identifier - Id of the BusinessEntityLink. The format of the variable has to be Identifier and the variable itself needs to be defined as Output.
- @param {string} value - The value to be set, has to be in the internal format depending on the type of BusinessEntityLink, e.g. Date/Time
Note: The functions get/setTaskData() operate silently on the business entity field and do NOT refresh controls, that may have the same business entity field as a data context.
Example Form
This example shows how to create an HTML control that gets and displays who started the workflow and writes back some text to a workflow variable using the functions listed above.
HTML
|
<!DOCTYPE html> |
Do not forget to set the format of the used business entity links to Identifier.
Displayed below is the form during the workflow execution.
After completing the task, the variable is now assigned the entered value.