Placeholders work great for many use-cases, for example, you could generate a letter of recommendation based on the values entered to the form by the end-user.
How to design
In Rethink Workflow,
To add a placeholder to supporting configuration, simply type
There are two types of placeholders: system placeholders and field-provided placeholders.
{{nameOfThePlaceholder}}
format represents a placeholder. For example:To add a placeholder to supporting configuration, simply type
{{
and the list of available placeholders will appear. You can then select one from the list to add as in the demonstration below:
In the above demonstration, we are adding {{currentDate}} to the name of the document. When a new document created, the system will replace it with the current date in MM/DD/YYYY format.
Placeholder-supported configuration
While designing a workflow, you can add placeholders to the following places:
System placeholders
System placeholders are placeholders that predetermined by the system.
action.description
- string: The description of the last action (e.g. transition) which moved the document to the current stateaction.id
- id: The unique ID of the last action (e.g. transition) which moved the document to the current stateaction.name
- string: The name of the last action (e.g. transition) which moved the document to the current stateactor.avatarUrl
- string: The Avatar URL of the last actoractor.emailAddress
- string: The last actor's email addressactor.id
- id: the last actor's unique IDactor.name
- string: The last actor nameactor.profileUrl
- string: The Profile URL of the last actoractor.unit.id
- id: The unique ID of the last actor's organizational unitactor.unit.name
- string: The name of the last actor's organizational unitactor.unit.path
- string: The full path of the last actor's organizational unitcompany.id
- id: The company's unique ID of the documentcompany.name
- string: The name of the current companycurrentDate
- string: The current date in MM/DD/YYYY formatcurrentDateTime
- string: The current date time in MM/DD/YYYY hh:mm AM/PM formatcurrentTime
- string: The current time in hh:mm AM/PM formatdocument.createdDate
- string: The created date of the document in MM/DD/YYYY formatdocument.createdDateTime
- string: The created date and time of the document in MM/DD/YYYY hh:mm AM/PM formatdocument.createdTime
- string: The created time of the document in hh:mm AM/PM formatdocument.createdTimestamp
- timestamp: The created timestamp the documentdocument.id
- id: The unique ID of the documentdocument.isCompleted
- boolean: The boolean value "true" if the document has reached the exit statedocument.isCreated
- boolean: The boolean value "true" if the document is created and has not been routed yetdocument.isInProgress
- boolean: The boolean value "true" if the document is not in created nor reaches the exit statedocument.key
- string: The unique key of the document generated automatically by the systemdocument.lastActivity.date
- string: The date of the document's last activity in MM/DD/YYYY formatdocument.lastActivity.dateTime
- string: The date and time of the document's last activity in MM/DD/YYYY hh:mm AM/PM formatdocument.lastActivity.description
- string: The description of the document's last activitydocument.lastActivity.time
- string: The date of the document's last activity in hh:mm AM/PM formatdocument.lastActivity.title
- string: The title of the document's last activitydocument.lastUpdatedDate
- string: The last updated date of the document in MM/DD/YYYY formatdocument.lastUpdatedDateTime
- string: The last updated date and time of the document in MM/DD/YYYY hh:mm AM/PM formatdocument.lastUpdatedTime
- string: The last updated time of the document in hh:mm AM/PM formatdocument.lastUpdatedTimestamp
- timestamp: The last updated timestampdocument.name
- string: The name of the documentdocument.url
- string: The absolute URL to the documentdocumentIsTrashed
- boolean: The boolean value "true" if the document was trashedowner.avatarUrl
- string: The avatar URL of the document ownerowner.emailAddress
- string: The document owner's email addressowner.id
- id: The document owner unique IDowner.name
- string: The full name of the document ownerowner.profileUrl
- string: The profile URL of the document ownerowner.unit.id
- id: The document owner's unit unique IDowner.unit.name
- string: The unit name of the document ownerowner.unit.path
- string: The full path to the document owner's organizational unitpendingSignOffPeople
- string: The list of users who have NOT signed off the documentrecipient.avatarUrl
- string: The avatar URL of the recipient (if available)recipient.emailAddress
- string: The email address of the recipient (if available)recipient.id
- string: The id of the recipient (if available)recipient.name
- string: The name of the recipient (if available)recipient.profileUrl
- string: The profile URL of the recipient (if available)signedOffPeople
- string: The list of users who have already signed off the documentstate.description
- string: The description of the current document's statestate.id
- id: The unique ID of the current document's statestate.isEntry
- boolean: The boolean value "true" if the document's state is the entry statestate.isExit
- boolean: The boolean value "true" if the document's state is an exit statestate.name
- string: The name of the current document's statevariant.description
- string: The workflow variant descriptionvariant.id
- id: The workflow variant unique IDvariant.name
- string: The workflow variant nameworkflow.description
- string: The workflow descriptionworkflow.id
- id: The unique ID of the workflowworkflow.key
- string: The unique key of the workflowworkflow.name
- string: The workflow name
Field-provided placeholders
This type of placeholders provided by each field / control. Check out the guide on each control to get what being offered.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.