Miscellaneous service tasks
Script Task ------— ??????
Generate Uuid
Description: This service task generates a Universally Unique Identifier.
Triggerable: No
Variable:
Result variable
String
Y
Name of the variable where the UUID will be set.
Default: uuid
Now
Description: It invokes the Current DateTime Service that gets a formatted string containing current date and time.
Triggerable: No
Variables:
Pattern
String
N
The date pattern to use (Tip: it uses java format. "dd-MM-yyyy" -> "02-01-2018" or "E, dd MMMM yyyy HH:mm:ss z" -> "Tue, 02 January 2018 18:07:59 IST")
TimeZone
String
N
The timezone to use
Result Variable
String
N
The workflow variable where the final return code will be written
Send Email
Description: Send Email Service.
Triggerable: No
Variables:
Recipients
String
Y
The email recipients
Subject
String
Y
The email subject
Body
String
Y
The email body
Template ID
Email_template
N
The identifier to the HTML template to be used for the body
File name
String
N
Name of the file to be used to fill in the HTML email template
File size
Long
N
Size of the file to be used to fill in the HTML email template
File path
String
N
Path of the file to be used to fill in the HTML email template
File date
String
N
Date of the file to be used to fill in the HTML email template
SubString
Description: It invokes the SubString Service that extracts a SubString from a source string.
Triggerable: No
Variables:
String
String
N
The String
Begin Index
Integer
N
The begin index of substring
End Index
Integer
N
The end index of substring
Result variable
String
N
The workflow variable where the final result will be written
Today
Description: It invokes the Today Service that gets a formatted string containing the current date.
Triggerable: No
Variables:
Pattern
String
N
The date pattern to use (Tip: it uses java format. "dd-MM-yyyy" -> "02-01-2018")
TimeZone
String
N
The timezone to use
Result variable
String
N
The workflow variable where the final return code will be written
Event Notification
Description: The Event Notification service task emits a notification on the "Generic local action" event on the notification channel specified in the service task.
Triggerable: Yes
Variables
notificationChannelName
Notification_channel
Y
Name of the Notification channel that will receive the event.
actName
String
Y
Logical name of the operation, used by DataWatcher when rendering a given actCode.
actAttrsPrefix
String
Y
Prefix used in Action attributes; the default is "actAttrs_". Action attributes are a list of variables injected at runtime in a workflow context. Each attribute is structured as a couple of: - name: string element containing the name of the attribute (starting with the mentioned prefix). - value: string element containing the value of the attribute. Example: actAttrs_MyAttrName= MyAttrValue
actOutcome
VariableType.ENUM
Y
Allowed values: - running - success (default) - failure
actErrCode
String
N
Attribute applied only when actOutcome is set to failure and indicates the error code associated with the failure.
actErrMsg
String
N
Attribute applied only when actOutcome is set to failure and indicates the error code associated with the failure.
dcName
String
Y
Logical name of the data container, typically a filename.
Last updated