action (humanTaskManage)

Parent: action

Applies whentype = humanTaskManage

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255
Enter a name for the automation action.
typeenumYesdata type=string; lov=PLUGINS
Valid values: humanTaskManage

Property Groups:

  • action
  • humanTask
  • renew
  • source
  • execution
  • error
  • advanced
  • serverSideCondition
  • config
  • comments
action
PropertyTypeRequiredDefault ValueDetails
typeenumYesapprovedata type=string; maxLen=4000; lov=STATIC
Valid values: cancel complete inviteParticipant release setOutcome claim setDueDate setPriority comment submitInfo approve updateParam requestInfo excludeParticipant renew delegate reject removeParticipant
action {
  type: cancel
}
humanTask
PropertyTypeRequiredDefault ValueDetails
taskIdItemstringYesdata type=string; maxLen=4000; textCase=UPPER
commentTextstringYesdata type=string; maxLen=4000
Applies whentype in (ADD_TASK_COMMENT)type in (REQUEST_INFO)type in (SUBMIT_INFO)
toUserItemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype in (DELEGATE_TASK)type in (ADD_TASK_POTENTIAL_OWNER)type in (REMOVE_POTENTIAL_OWNER)type in (EXCLUDE_OWNER)
priorityItemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype = SET_TASK_PRIORITY
dueDateItemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype = SET_DUE_DATE
paramItemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype = SET_TASK_PARAMS
newValueItemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype = SET_TASK_PARAMS
requestFromUserItemstringNodata type=string; maxLen=4000; textCase=UPPER
Applies whentype = REQUEST_INFO
outcomeItemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype = SET_TASK_OUTCOME
humanTask {
  taskIdItem: value
  commentText: value
  toUserItem: value
  priorityItem: value
  dueDateItem: value
  paramItem: value
  newValueItem: value
  requestFromUserItem: value
  outcomeItem: value
}
renew
PropertyTypeRequiredDefault ValueDetails
renewedDueDateItemstringNodata type=string; maxLen=4000; textCase=UPPER
Applies whentype = RENEW_TASK
renewedPriorityItemstringNodata type=string; maxLen=4000; textCase=UPPER
Applies whentype = RENEW_TASK
renewedTaskIdItemstringNodata type=string; maxLen=4000; textCase=UPPER
Applies whentype = RENEW_TASK
renew {
  renewedDueDateItem: value
  renewedPriorityItem: value
  renewedTaskIdItem: value
}
source
PropertyTypeRequiredDefault ValueDetails
locationenumYeslocalDatabasedata type=string; lov=STATIC
Valid values: localDatabase restEnabledSql
languageenumYesplsqldata type=string; lov=STATIC
Valid values: plsql javaScript-mle
Applies whenlocation = localDatabase
plsqlCodemultiline stringYesdata type=multiline string; maxLen=32767
Applies whenlocation = localDatabase and language = plsql
javaScriptCodemultiline stringYesdata type=multiline string; maxLen=32767
Applies whenlocation = localDatabase and language = javaScript-mle
remoteServerreferenceYesdata type=reference; lov=COMPONENT; references=restEnabledSqlDatabase
Applies whenlocation = restEnabledSql
plsqlCodemultiline stringYesdata type=multiline string; maxLen=32767
Applies whenlocation = restEnabledSql
Enter the PL/SQL code to be executed on the remote database.
source {
  location: localDatabase
  language: plsql
  plsqlCode: ```plsql
    value
  ```
  javaScriptCode: ```javascript-mle
    value
  ```
  remoteServer: @component
}
execution
PropertyTypeRequiredDefault ValueDetails
sequencenumberYesdata type=number; maxLen=22
execution {
  sequence: 42
}
error
PropertyTypeRequiredDefault ValueDetails
errorMessagemultiline stringNodata type=multiline string; maxLen=4000
Enter an error message to be written to the automation log when the processing fails. Use #SQLERRM# as a placeholder for the actual ORA error message.
stopExecutionOnErrorbooleanYestruedata type=boolean
error {
  errorMessage: ```
    value
  ```
  stopExecutionOnError: false
}
advanced
PropertyTypeRequiredDefault ValueDetails
staticIdstringYesdata type=string; maxLen=255
advanced {
  staticId: value
}
serverSideCondition
PropertyTypeRequiredDefault ValueDetails
typeenumNodata type=string; lov=STATIC
Valid values: rowsReturned noRowsReturned expression functionBody item=value item!=value itemIsNull itemIsNotNull itemIsZero itemIsNotZero itemIsNullOrZero itemIsNotNullAndNotZero itemContainsNoSpaces itemIsNumeric itemIsNotNumeric itemIsAlphanumeric itemIsInColonDelimitedList itemIsNotInColonDelimitedList textIsContainedInItem text=value text!=value textIsContainedInValue textIsNotContainedInValue never
sqlQuerymultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype in (rowsReturned)type in (noRowsReturned)
languageenumYesplsqldata type=string; lov=STATIC
Valid values: sql plsql javaScript-mle
Applies whentype = expression
sqlExpressionmultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = expression and language = sql
plsqlExpressionmultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = expression and language = plsql
javaScriptExpressionmultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = expression and language = javaScript-mle
languageenumYesplsqldata type=string; lov=STATIC
Valid values: plsql javaScript-mle
Applies whentype = functionBody
plsqlFunctionBodymultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = functionBody and language = plsql
javaScriptFunctionBodymultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = functionBody and language = javaScript-mle
itemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype in (item=value)type in (item!=value)type in (VALUE_OF_ITEM_IN_COND_1_EQ_COND_2)type in (VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2)type in (itemIsNull)type in (itemIsNotNull)type in (itemIsZero)type in (itemIsNotZero)type in (itemIsNullOrZero)type in (itemIsNotNullAndNotZero)type in (itemContainsNoSpaces)type in (itemIsNumeric)type in (itemIsNotNumeric)type in (itemIsAlphanumeric)type in (itemIsInColonDelimitedList)type in (itemIsNotInColonDelimitedList)
textstringYesdata type=string; maxLen=4000
Applies whentype in (textIsContainedInItem)type in (textIsContainedInValue)type in (textIsNotContainedInValue)type in (text=value)type in (text!=value)
valuestringYesdata type=string; maxLen=4000
Applies whentype in (item=value)type in (item!=value)type in (VALUE_OF_ITEM_IN_COND_1_EQ_COND_2)type in (VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2)
listarray of stringsYesdata type=string; maxLen=4000
Applies whentype in (itemIsInColonDelimitedList)type in (itemIsNotInColonDelimitedList)
itemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype = textIsContainedInItem
valuestringYesdata type=string; maxLen=4000
Applies whentype in (textIsContainedInValue)type in (textIsNotContainedInValue)type in (text=value)type in (text!=value)
executeConditionenumYesforEachRowdata type=string; lov=STATIC
Valid values: forEachRow once
Applies whentype is set
Specify whether the condition is to be executed for each row or only once.
serverSideCondition {
  type: rowsReturned
  sqlQuery: ```sql
    value
  ```
  language: sql
  sqlExpression: ```sql
    value
  ```
  plsqlExpression: ```plsql
    value
  ```
  javaScriptExpression: ```javascript-mle
    value
  ```
  plsqlFunctionBody: ```plsql
    value
  ```
  javaScriptFunctionBody: ```javascript-mle
    value
  ```
  item: value
  text: value
  value: value
  list: [
    value
    value
  ]
  executeCondition: forEachRow
}
config
PropertyTypeRequiredDefault ValueDetails
buildOptionreferenceNodata type=reference; lov=COMPONENT; references=buildOption
config {
  buildOption: @component
}
comments
PropertyTypeRequiredDefault ValueDetails
commentsmultiline stringNodata type=multiline string; maxLen=4000
comments {
  comments: ```
    value
  ```
}

APEXlang Example

action sample (
    name: value
    type: humanTaskManage
    action {
        type: cancel
    }
    humanTask {
        taskIdItem: value
        commentText: value
        toUserItem: value
        priorityItem: value
        dueDateItem: value
        paramItem: value
        newValueItem: value
        requestFromUserItem: value
        outcomeItem: value
    }
    renew {
        renewedDueDateItem: value
        renewedPriorityItem: value
        renewedTaskIdItem: value
    }
    source {
        location: localDatabase
        language: plsql
        plsqlCode: ```plsql
          value
        ```
        javaScriptCode: ```javascript-mle
          value
        ```
        remoteServer: @component
    }
    execution {
        sequence: 42
    }
    error {
        errorMessage: ```
          value
        ```
        stopExecutionOnError: false
    }
    advanced {
        staticId: value
    }
    serverSideCondition {
        type: rowsReturned
        sqlQuery: ```sql
          value
        ```
        language: sql
        sqlExpression: ```sql
          value
        ```
        plsqlExpression: ```plsql
          value
        ```
        javaScriptExpression: ```javascript-mle
          value
        ```
        plsqlFunctionBody: ```plsql
          value
        ```
        javaScriptFunctionBody: ```javascript-mle
          value
        ```
        item: value
        text: value
        value: value
        list: [
          value
          value
        ]
        executeCondition: forEachRow
    }
    config {
        buildOption: @component
    }
    comments {
        comments: ```
          value
        ```
    }
)