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

Functions

 createBatchJob4Workflow JobName JobDescription TriggerComment ProcessName ObjectTagList ?JobFilter? args
 Creates an batch job to run an work flow task. More...
 
 executeTcWorkflowJob JobName JobDescription TriggerComment ProcessName ObjectTagList ?RunMode? args
 This testscript is used to test automaticaly a T4X workflow template, this is done by the following steps: 1) Creation of a new Teamcenter process with the new created object as a target 2) Triggering the complete action of the workflow. More...
 
 runTemplateTest SapObjectType item_id item_rev_id object_name JobName JobDescription TriggerComment ProcessName args
 This testscript is used to test automaticaly a T4X workflow template, this is done by the following steps: 1) Creation of a new Teamcenter Object/ItemRevision 2) Creation of a new Teamcenter process with the new created object as a target 3) Triggering the complete action of the workflow 4) Verification of the results (not yet implemented) More...
 

Variables

 BatchjobDefaults
 

Function Documentation

◆ createBatchJob4Workflow()

T4X::TEST::WORKFLOW::createBatchJob4Workflow   JobName JobDescription TriggerComment ProcessName ObjectTagList ?JobFilter? args  

Creates an batch job to run an work flow task.

Parameters
JobNamename of the work flow to be created
JobDescriptiondescription of the work flow to be created
TriggerCommentcomment for the triggering the work flow
ProcessNamework flow template name
ObjectTagListTags of objects which are set as the work flow targets
JobFilter(optional) default set to TEST
Returns
Status - OK / ERROR

◆ executeTcWorkflowJob()

T4X::TEST::WORKFLOW::executeTcWorkflowJob   JobName JobDescription TriggerComment ProcessName ObjectTagList ?RunMode? args  

This testscript is used to test automaticaly a T4X workflow template, this is done by the following steps: 1) Creation of a new Teamcenter process with the new created object as a target 2) Triggering the complete action of the workflow.

Parameters
JobNamename of the work flow to be created
JobDescriptiondesription of the work flow to be created
TriggerCommentcomment for the triggering the work flow
ProcessNamework flow template name
ObjectTagListTags of objects which are set as the workflow targets
RunMode(optional) default set to BatchJob
Returns
Status - OK / UNKNOWN

◆ runTemplateTest()

T4X::TEST::WORKFLOW::runTemplateTest   SapObjectType item_id item_rev_id object_name JobName JobDescription TriggerComment ProcessName args  

This testscript is used to test automaticaly a T4X workflow template, this is done by the following steps: 1) Creation of a new Teamcenter Object/ItemRevision 2) Creation of a new Teamcenter process with the new created object as a target 3) Triggering the complete action of the workflow 4) Verification of the results (not yet implemented)

Parameters
SapObjectTypeDIR / MM / BOM / EQUIBOM / ORDERBOM / ECM / FUNCLOC / EQUI
item_idid of the new item to be created and used as workflow target
item_rev_idrevision of the new item revision to be created and used as workflow target
object_namename of the new item to be created and used as workflow target
JobNamename of the work flow to be created
JobDescriptiondesription of the work flow to be created
TriggerCommentcomment for the triggering the work flow
ProcessNamework flow template name
Returns
none

Variable Documentation

◆ BatchjobDefaults

BatchjobDefaults
static