T4S4  19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
T4X::WORKFLOW::BATCHJOB::CUSTOM Namespace Reference

Functions

 checkTriggerStatus4Retry TaskTag ItkStatus
 This function returns the true if the ITK status provided is matching defined rule, otherwise the result will be false. More...
 
 sendTC_InfoEMail WorkflowTag MailText
 procedure to send an tc email, called by work flow batch jobs More...
 
 validateTaskStatus TaskTag
 This custom function could be used to implement customer specific rules to identify if a give Task or the corresponding job is completed or not. More...
 

Function Documentation

◆ checkTriggerStatus4Retry()

T4X::WORKFLOW::BATCHJOB::CUSTOM::checkTriggerStatus4Retry   TaskTag ItkStatus  

This function returns the true if the ITK status provided is matching defined rule, otherwise the result will be false.

Parameters
TaskTagTag of the triggered task
ItkStatusStatus number
Returns
Returns a logical flag that is The following values are valid:
true used to enable a retry of the batch job
false or any other value will be treated as no batch job retry possible or needed

◆ sendTC_InfoEMail()

T4X::WORKFLOW::BATCHJOB::CUSTOM::sendTC_InfoEMail   WorkflowTag MailText  

procedure to send an tc email, called by work flow batch jobs

Parameters
WorkflowTag
MailTextPredefined error text based on the internal collected error messages
Returns
OK or ERROR

◆ validateTaskStatus()

T4X::WORKFLOW::BATCHJOB::CUSTOM::validateTaskStatus   TaskTag  

This custom function could be used to implement customer specific rules to identify if a give Task or the corresponding job is completed or not.

Parameters
TaskTagWorkflow task tag
Returns
StatusDict with the following elements:
  • Status
  • ExtendedErrText