Example for Task |
Expand |
---|
| <taskSap exportReleaseLevel |
Code Block |
---|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<taskSap exportReleaseLevel="7. | 2 exportTable exportTable="ops_task_sap" | retainSysIds version111">
<variables/>
<notes/>
<agent />
<agentCluster />
| <actions <agentClusterVar />
<agentVar>${Agent}</agentVar>
<broadcastCluster />
<broadcastClusterVar />
<cpDuration />
<cpDurationUnit>Minutes</cpDurationUnit>
<credentials />
<credentialsVar />
| <variables <customField1/>
<customField2/>
<efDayConstraint>None</efDayConstraint>
<efDuration>00:00:00:00</efDuration>
<efEnabled>false</efEnabled>
<efNthAmount>5</efNthAmount>
| <notes />
<virtualResources />
<exclusiveTasks />
<agent>AGNT0001</agent>
<agentCluster />
<agentClusterVar />
<agentVar /> <avgRunTime>3</avgRunTime> <avgRunTimeDisplay>3 Seconds</avgRunTimeDisplay>
<broadcastCluster />
<cpDuration />
<cpDurationUnit>Minutes</cpDurationUnit>
<credentials />
<credentialsVar />
<customField1 label="Domain">web.com</customField1>
<customField2 />
<efDayConstraint>Nth</efDayConstraint>
<efDuration>00:00:00:00</efDuration>
<efEnabled>false</efEnabled>
<efNthAmount>10</efNthAmount>
<efOffsetDuration /> <efOffsetDurationUnit>Minutes</efOffsetDurationUnit> <efOffsetPercentage>0</efOffsetPercentage> <efOffsetType>Percentage</efOffsetType> <efTime>00:00</efTime>
<efType>Time</efType>
<executionRestriction>Run</executionRestriction> <firstRun>2021-03-15 13:59:37 -0400</firstRun>
<holdResources>false</holdResources> <lastRun>2021-03-16 17:12:42 -0400</lastRun> <lastRunTime>9</lastRunTime> <lastRunTimeDisplay>9 seconds</lastRunTimeDisplay>
<lfDayConstraint>Nth</lfDayConstraint>
<lfDuration>00:00:00:00</lfDuration>
<lfEnabled>false</lfEnabled>
<lfNthAmount>1</lfNthAmount>
<lfOffsetDuration /> <lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit> <lfOffsetPercentage>0</lfOffsetPercentage> <lfOffsetType>Percentage</lfOffsetType> <lfTime>00:00</lfTime>
<lfType>Time</lfType>
<lsDayConstraint>Nth</lsDayConstraint>
<lsDuration>00:00:00:00</lsDuration>
<lsEnabled>false</lsEnabled>
<lsNthAmount>7</lsNthAmount>
<lsTime>00:00</lsTime>
<lsType>Time</lsType> <maxRunTime>9</maxRunTime> <maxRunTimeDisplay>9 Seconds</maxRunTimeDisplay> <minRunTime>3</minRunTime> <minRunTimeDisplay>3 Seconds</minRunTimeDisplay>
<name>uc - Test Email</name>
<opswiseGroups />
<resolveNameImmediately>false</resolveNameImmediately>
<resPriority>10</resPriority>
<restrictionPeriod>Span</restrictionPeriod>
<restrictionPeriodAfterDate>2017-11-10</restrictionPeriodAfterDate>
<restrictionPeriodAfterTime>10:30</restrictionPeriodAfterTime>
<restrictionPeriodBeforeDate>2017-11-20</restrictionPeriodBeforeDate>
<restrictionPeriodBeforeTime>15:00</restrictionPeriodBeforeTime>
<restrictionPeriodDateList /> <runCount>32</runCount> <runTime>108</runTime>
<startHeld>true</startHeld>
<startHeldReason>hold reason</startHeldReason>
<summary />
<sysId>f87848b00a0001037f43e7c81c8ec969</sysId>
<timeZonePref>-- System Default --</timeZonePref>
<twDelayAmount />
<twDelayDuration>00:00:01:00</twDelayDuration>
<twDelayType>Duration</twDelayType>
<twWaitAmount />
<twWaitDayConstraint />
<twWaitDuration>00:00:00:00</twWaitDuration>
<twWaitTime>00:00</twWaitTime>
<twWaitType>Time</twWaitType>
<twWorkflowOnly>Yes</twWorkflowOnly>
<userEstimatedDuration>00:00:00:02</userEstimatedDuration>
<chainDesc />
<chainId />
<commandGroup>Run</commandGroup>
<commandOptions />
<dataSource />
<defFile />
<definitionOrModel>USAP Definition File</definitionOrModel>
<definitionOrModelJobVar>USAP Definition File</definitionOrModelJobVar>
<dispAbapName />
<dispSapEventId />
<dispSapEventParm />
<dispVariant />
<environment />
<exitCodeOutput />
<exitCodeProcessing>Success Exitcode Range</exitCodeProcessing>
<exitCodeText />
<exitCodes>0</exitCodes>
<immediate>true</immediate>
<infoPackage />
<infoPackageJobName />
<infoSource />
<jobId />
<jobLog>true</jobLog>
<jobName />
<jobStatus />
<logId />
<outputFailureOnly>true</outputFailureOnly>
<outputReturnFile />
<outputReturnNline>100</outputReturnNline>
<outputReturnSline>1</outputReturnSline>
<outputReturnText />
<outputReturnType>OUTERR</outputReturnType>
<outputType>STDOUT</outputType>
<pcRestart>false</pcRestart>
<printAppLog>true</printAppLog>
<printAppRc>true</printAppRc>
<purge>false</purge>
<repositoryOrFilesys>Script Library</repositoryOrFilesys>
<requestId />
<retryIndefinitely>false</retryIndefinitely>
<retryInterval>60</retryInterval>
<retryMaximum>0</retryMaximum>
<retrySuppressFailure>false</retrySuppressFailure>
<runtimeDir />
<sapCommandMask />
<sapCmProfileId />
<sapCmProfileType />
<sapCmXmlFile />
<sapConnection />
<sapConnectionVar />
<sapCred>uc - Db Credentials</sapCred>
<sapCredVar />
<sapDispConfirmEvents>false</sapDispConfirmEvents>
<sapDispEventSelectState>New</sapDispEventSelectState>
<sapDisplayCommand />
<sapEventId />
<sapEventParm />
<sapFromDate />
<sapLang />
<sapPrinterName />
<sapToDate />
<script>test script</script>
<sourceSystem />
<spoollist>true</spoollist>
<start>false</start>
<stepNum />
<targetJobName />
<targetServer>serv1</targetServer>
<targetVariantName />
<useAppRc>false</useAppRc>
<wait>false</wait>
<waitForOutput>false</waitForOutput>
</taskSap> | Expand |
---|
| {
"type": "taskSap",
"actions": {
"abortActions": [],
"emailNotifications": [],
"setVariableActions": [],
"snmpNotifications": [],
"systemOperations": []
},
"agent": null,
"agentCluster": "uc Demo Cluster",
"agentClusterVar": null,
"agentVar": null, "avgRunTime": 3, "avgRunTimeDisplay": "3 Seconds",
"broadcastCluster": null,
"chainDesc": null,
"chainId": null,
"commandGroup": "Run",
"commandOptions": null,
"cpDuration": null,
"cpDurationUnit": "Minutes",
"credentials": null,
"credentialsVar": null,
"customField1": {
"label": "Domain",
"value": "http://qa-cntlr-mssql:8080/uc/"
},
"customField2": {
"label": null,
"value": null
},
"dataSource": null,
"defFile": null,
"definitionOrModel": "USAP Definition File",
"definitionOrModelJobVar": "USAP Definition File",
"dispAbapName": null,
"dispSapEventId": null,
"dispSapEventParm": null,
"dispVariant": null,
"efDayConstraint": "Nth Day",
"efDuration": "00:00:00:00",
"efEnabled": false,
"efNthAmount": 10,
"efOffsetDuration": null, "efOffsetDurationUnit": "Minutes", "efOffsetPercentage": 0, "efOffsetType": "Percentage", "efTime": "00:00",
"efType": "Time",
"environment": null,
"excludeRelated": false,
"exclusiveTasks": [],
"executionRestriction": "Run",
"exitCodeOutput": null,
"exitCodeProcessing": "Success Exitcode Range",
"exitCodeText": null,
"exitCodes": 0, "exportReleaseLevel": "7.2.0.0", "exportTable": "ops_task_sap", "firstRun": "2021-03-15 13:59:37 -0400",
"holdResources": false,
"immediate": true,
"infoPackage": null,
"infoPackageJobName": null,
"infoSource": null,
"jobId": null,
"jobLog": true,
"jobName": null,
"jobStatus": null, "lastRun": "2021-03-16 17:12:42 -0400", "lastRunTime": 9, "lastRunTimeDisplay": "9 Seconds",
"lfDayConstraint": "Nth Day",
"lfDuration": <efOffsetDuration />
<efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
<efOffsetPercentage>0</efOffsetPercentage>
<efOffsetType>Percentage</efOffsetType>
<efTime>00:00</efTime>
<efType>Time</efType>
<enforceVariables>false</enforceVariables>
<exclusiveWithSelf>false</exclusiveWithSelf>
<executionRestriction>None</executionRestriction>
<firstRun></firstRun>
<holdResources>false</holdResources>
<lastRun></lastRun>
<lfDayConstraint>None</lfDayConstraint>
<lfDuration>00:00:00:00</lfDuration>
<lfEnabled>false</lfEnabled>
<lfNthAmount>5</lfNthAmount>
<lfOffsetDuration />
<lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
<lfOffsetPercentage>0</lfOffsetPercentage>
<lfOffsetType>Percentage</lfOffsetType>
<lfTime>00:00</lfTime>
<lfType>Time</lfType>
<lockVariables>false</lockVariables>
<logLevel>Inherited</logLevel>
<lsDayConstraint>None</lsDayConstraint>
<lsDuration>00:00:00:00</lsDuration>
<lsEnabled>false</lsEnabled>
<lsNthAmount>5</lsNthAmount>
<lsTime>00:00</lsTime>
<lsType>Time</lsType>
<name>Demo</name>
<actions/>
<opswiseGroups/>
<overrideInstanceWait>No</overrideInstanceWait>
<resPriority>10</resPriority>
<resolveNameImmediately>false</resolveNameImmediately>
<restrictionPeriod>None</restrictionPeriod>
<restrictionPeriodAfterDate />
<restrictionPeriodAfterTime />
<restrictionPeriodBeforeDate />
<restrictionPeriodBeforeTime />
<restrictionPeriodDateList/>
<retryIndefinitely>false</retryIndefinitely>
<retryInterval>60</retryInterval>
<retryMaximum>0</retryMaximum>
<retrySuppressFailure>false</retrySuppressFailure>
<runCount>0</runCount>
<runTime>0</runTime>
<simulation>false</simulation>
<startHeld>false</startHeld>
<startHeldReason />
<summary />
<sysId>ccfe7874d4c6446ea1fb8b4a4ee7dd0d</sysId>
<exclusiveTasks/>
<virtualResources/>
<timeZonePref>-- System Default --</timeZonePref>
<twDelayAmount />
<twDelayDuration>00:00:00:00</twDelayDuration>
<twDelayType>None</twDelayType>
<twWaitAmount />
<twWaitDayConstraint>None</twWaitDayConstraint>
<twWaitDuration>00:00:00:00</twWaitDuration>
<twWaitTime>00:00</twWaitTime>
<twWaitType>None</twWaitType>
<twWorkflowOnly>-- System Default --</twWorkflowOnly>
<userEstimatedDuration />
<jobSteps>
<jobStep>
<language />
<printParameters>
<numberOfCopies />
<outputDevice />
<pageArea>Everything</pageArea>
<pageFrom />
<pageTo />
<printTime>SAP Spool Only</printTime>
</printParameters>
<programName>RSCOLL00</programName>
<stepOrder>1</stepOrder>
<sysId>1c3ff671d92d44d79ba8e3495b3913eb</sysId>
<temporaryVariant/>
<type>ABAP Program</type>
<useTemporaryVariant>false</useTemporaryVariant>
<username />
<variantName />
</jobStep>
<jobStep>
<language>EN</language>
<printParameters>
<numberOfCopies />
<outputDevice>LP01</outputDevice>
<pageArea>Page</pageArea>
<pageFrom>1</pageFrom>
<pageTo>2</pageTo>
<printTime>SAP Spool Only</printTime>
</printParameters>
<programName>ABAP_DOCU_LIST</programName>
<stepOrder>0</stepOrder>
<sysId>58a8c8616aca4539803c04f11bb9cb6d</sysId>
<temporaryVariant>
<variantParameter>
<high>Z</high>
<low>A*</low>
<name>NAME1</name>
<option>Between</option>
<sign>Include</sign>
<type>Selection</type>
</variantParameter>
<variantParameter>
<high />
<low>ABC*</low>
<name>NAME2</name>
<option>Contains Pattern</option>
<sign>Exclude</sign>
<type>Parameter</type>
</variantParameter>
</temporaryVariant>
<type>ABAP Program</type>
<useTemporaryVariant>true</useTemporaryVariant>
<username />
<variantName />
</jobStep>
</jobSteps>
<chainDesc />
<chainId />
<commandGroup>Submit</commandGroup>
<commandOptions>-l audit -rawspool no</commandOptions>
<dataSource />
<defFile />
<definitionOrModel />
<definitionOrModelJobVar />
<dispAbapName />
<dispSapEventId />
<dispSapEventParm />
<dispVariant />
<emailNotification>
<language>EN</language>
<notifyType>Status Cancelled</notifyType>
<recipient>ellen.ulrich@stonebranch.com</recipient>
</emailNotification>
<environment/>
<exitCodeOutput />
<exitCodeProcessing>Success Exitcode Range</exitCodeProcessing>
<exitCodeText />
<exitCodes>0</exitCodes>
<immediate>false</immediate>
<infoPackage />
<infoPackageJobName />
<infoSource />
<jobClass>Low Priority</jobClass>
<jobId />
<jobLog>true</jobLog>
<jobLogChild>Yes</jobLogChild>
<jobName>SAP3</jobName>
<jobStatus />
<logId />
<maxChildDepth />
<outputFailureOnly>false</outputFailureOnly>
<outputReturnFile />
<outputReturnNline>999</outputReturnNline>
<outputReturnSline>1</outputReturnSline>
<outputReturnText />
<outputReturnType>OUTERR</outputReturnType>
<outputType>STDOUT</outputType>
<pcRestart />
<printAppLog>true</printAppLog>
<printAppRc>true</printAppRc>
<purge>false</purge>
<purgeChild>false</purgeChild>
<repositoryOrFilesys />
<requestId />
<runtimeDir />
<sapCmProfileId />
<sapCmProfileType />
<sapCmXmlFile />
<sapCommandMask />
<sapConnection>ps5</sapConnection>
<sapConnectionVar />
<sapCred>ps5</sapCred>
<sapCredVar />
<sapDispConfirmEvents />
<sapDispEventSelectState />
<sapDisplayCommand />
<sapEventId />
<sapEventParm />
<sapFromDate />
<sapLang />
<sapPrinterName />
<sapToDate />
<sapView>Enhanced View</sapView>
<script />
<sourceSystem />
<spoolListRecipient>
<blindCopy>false</blindCopy>
<copy>false</copy>
<deliver>Always</deliver>
<express>false</express>
<mailStatus>Always</mailStatus>
<noForwarding>false</noForwarding>
<recipient />
<recipientType>External Addresses</recipientType>
</spoolListRecipient>
<spoollist>true</spoollist>
<spoollistChild>false</spoollistChild>
<start>true</start>
<stepNum />
<targetJobName />
<targetServer />
<targetVariantName />
<useAppRc>false</useAppRc>
<wait>true</wait>
<waitChild>false</waitChild>
<waitForOutput>false</waitForOutput>
</taskSap> |
|
|
Expand |
---|
|
Code Block |
---|
{
"type": "taskSap",
"actions": {
"abortActions": [],
"emailNotifications": [],
"setVariableActions": [],
"snmpNotifications": [],
"systemOperations": []
},
"agent": null,
"agentCluster": null,
"agentClusterVar": null,
"agentVar": "${Agent}",
"broadcastCluster": null,
"broadcastClusterVar": null,
"chainDesc": null,
"chainId": null,
"commandGroup": "Submit",
"commandOptions": "-l audit -rawspool no",
"cpDuration": null,
"cpDurationUnit": "Minutes",
"credentials": null,
"credentialsVar": null,
"customField1": {
"label": null,
"value": null
},
"customField2": {
"label": null,
"value": null
},
"dataSource": null,
"defFile": null,
"definitionOrModel": null,
"definitionOrModelJobVar": null,
"dispAbapName": null,
"dispSapEventId": null,
"dispSapEventParm": null,
"dispVariant": null,
"efDayConstraint": "None",
"efDuration": "00:00:00:00",
"efEnabled": false,
"efNthAmount": 5,
"efOffsetDuration": null,
"efOffsetDurationUnit": "Minutes",
"efOffsetPercentage": 0,
"efOffsetType": "Percentage",
"efTime": "00:00",
"efType": "Time",
"emailNotification": {
"language": "EN",
"notifyType": "Status Cancelled",
"recipient": "ellen.ulrich@stonebranch.com"
},
"enforceVariables": false,
"environment": [],
"exclusiveTasks": [],
"exclusiveWithSelf": false,
"executionRestriction": "None",
"exitCodeOutput": null,
"exitCodeProcessing": "Success Exitcode Range",
"exitCodeText": null,
"exitCodes": "0",
"exportReleaseLevel": "7.5.0.0",
"exportTable": "ops_task_sap",
"firstRun": "",
"holdResources": false,
"immediate": false,
"infoPackage": null,
"infoPackageJobName": null,
"infoSource": null,
"jobClass": "Low Priority",
"jobId": null,
"jobLog": true,
"jobLogChild": "Yes",
"jobName": "SAP3",
"jobStatus": null,
"jobSteps": [
{
"language": null,
"printParameters": {
"numberOfCopies": null,
"outputDevice": null,
"pageArea": "Everything",
"pageFrom": null,
"pageTo": null,
"printTime": "SAP Spool Only"
},
"programName": "RSCOLL00",
"stepOrder": 1,
"sysId": "1c3ff671d92d44d79ba8e3495b3913eb",
"temporaryVariant": [],
"type": "ABAP Program",
"useTemporaryVariant": false,
"username": null,
"variantName": null
},
{
"language": "EN",
"printParameters": {
"numberOfCopies": null,
"outputDevice": "LP01",
"pageArea": "Page",
"pageFrom": 1,
"pageTo": 2,
"printTime": "SAP Spool Only"
},
"programName": "ABAP_DOCU_LIST",
"stepOrder": 0,
"sysId": "58a8c8616aca4539803c04f11bb9cb6d",
"temporaryVariant": [
{
"high": "Z",
"low": "A*",
"name": "NAME1",
"option": "Between",
"sign": "Include",
"type": "Selection"
},
{
"high": null,
"low": "ABC*",
"name": "NAME2",
"option": "Contains Pattern",
"sign": "Exclude",
"type": "Parameter"
}
],
"type": "ABAP Program",
"useTemporaryVariant": true,
"username": null,
"variantName": null
}
],
"lastRun": "",
"lfDayConstraint": "None",
"lfDuration": "00:00:00:00",
| false 1 null 0 "00:00",
"lfType": "Time",
"lockVariables": false,
"logId": null,
" | lfType Time Nth Day false 7 maxRunTime 9, "maxRunTimeDisplay": "9 Seconds", "minRunTime": 3, "minRunTimeDisplay": "3 Seconds",
"name": "uc - Test Email",
"notes": [],
"opswiseGroups": null,
"outputFailureOnly": true,
"outputReturnFile": null,
"outputReturnNline": 100,
"outputReturnSline": 1,
"outputReturnText": null,
"outputReturnType": "OUTERR",
"outputType": "STDOUT",
"pcRestart": false,
"printAppLog": true,
"printAppRc": true,
"purge": false,
"repositoryOrFilesys": "Script Library",
"requestId": null,
"resolveNameImmediately": false,
"resPriority": 10,
"restrictionPeriod": "Span",
"restrictionPeriodAfterDate": "2017-11-10",
"restrictionPeriodAfterTime": "10:30",
"restrictionPeriodBeforeDate": "2017-11-20",
"restrictionPeriodBeforeTime": "15:00",
"restrictionPeriodDateList": [],
"retainSysIds": true,
"retryIndefinitely": false,
"retryInterval": 60,
"retryMaximum": 0,
"retrySuppressFailure": false, "runCount": 32, "runTime": 108,
"runtimeDir": null,
"sapCommandMask": null,
"sapCmProfileId": null,
"sapCmProfileType": null,
"sapCmXmlFile": null,
"sapConnection": null,
"sapConnectionVar": null,
"sapCred": "uc - Db Credentials",
"sapCredVar": null,
"sapDispConfirmEvents": false,
"sapDispEventSelectState": "New",
"sapDisplayCommand": null,
"sapEventId": null,
"sapEventParm": null,
"sapFromDate": null,
"sapLang": null,
"sapPrinterName": null,
"sapToDate": null,
"script": "test script",
"sourceSystem": null,
"spoollist": true,
"start": false,
"startHeld": false,
"startHeldReason": null,
"stepNum": null,
"summary": "Test Email",
"sysId": "fb59a227517a421a92c15ff5aefe3b66",
"targetJobName": null,
"targetServer": "serv1",
"targetVariantName": null,
"timeZonePref": "-- System Default --",
"twDelayAmount": null,
"twDelayDuration": "Demo",
"notes": [],
"opswiseGroups": [],
"outputFailureOnly": false,
"outputReturnFile": null,
"outputReturnNline": "999",
"outputReturnSline": "1",
"outputReturnText": null,
"outputReturnType": "OUTERR",
"outputType": "STDOUT",
"overrideInstanceWait": "No",
"pcRestart": null,
"printAppLog": true,
"printAppRc": true,
"purge": false,
"purgeChild": false,
"repositoryOrFilesys": null,
"requestId": null,
"resPriority": 10,
"resolveNameImmediately": false,
"restrictionPeriod": "None",
"restrictionPeriodAfterDate": null,
"restrictionPeriodAfterTime": null,
"restrictionPeriodBeforeDate": null,
"restrictionPeriodBeforeTime": null,
"restrictionPeriodDateList": [],
"retainSysIds": true,
"retryIndefinitely": false,
"retryInterval": 60,
"retryMaximum": 0,
"retrySuppressFailure": false,
"runCount": 0,
"runTime": 0,
"runtimeDir": null,
"sapCmProfileId": null,
"sapCmProfileType": null,
"sapCmXmlFile": null,
"sapCommandMask": null,
"sapConnection": "ps5",
"sapConnectionVar": null,
"sapCred": "ps5",
"sapCredVar": null,
"sapDispConfirmEvents": null,
"sapDispEventSelectState": null,
"sapDisplayCommand": null,
"sapEventId": null,
"sapEventParm": null,
"sapFromDate": null,
"sapLang": null,
"sapPrinterName": null,
"sapToDate": null,
"sapView": "Enhanced View",
"script": null,
"simulation": false,
"sourceSystem": null,
"spoolListRecipient": {
"blindCopy": false,
"copy": false,
"deliver": "Always",
"express": false,
"mailStatus": "Always",
"noForwarding": false,
"recipient": null,
"recipientType": "External Addresses"
},
"spoollist": true,
"spoollistChild": false,
"start": true,
"startHeld": false,
"startHeldReason": null,
"stepNum": null,
"summary": null,
"sysId": "ccfe7874d4c6446ea1fb8b4a4ee7dd0d",
"targetJobName": null,
"targetServer": null,
"targetVariantName": null,
"timeZonePref": "-- System Default --",
"twDelayAmount": null,
"twDelayDuration": "00:00:00:00",
| null NONE
System Default false null 1 false true,
"waitChild": false,
| false
|
|