Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Examples

XML

JSON

Example for Task


Expand
titleXML


Code Block
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<taskSap exportReleaseLevel="7.67.0.0" exportTable="ops_task_sap" retainSysIds="true" version="11">
    <variables/>
    <notes/>
    <agent />
    <agentCluster />
    <agentClusterVar />
    <agentVar>${Agent}</agentVar>
    <broadcastCluster />
    <broadcastClusterVar />
    <cpDuration />
    <cpDurationUnit>Minutes</cpDurationUnit>
    <credentials />
    <credentialsVar />
    <customField1/>
    <customField2/>
    <efDayConstraint>None</efDayConstraint>
    <efDuration>00:00:00:00</efDuration>
    <efEnabled>false</efEnabled>
    <efNthAmount>5</efNthAmount>
    <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>
                    <technicalName>NAME1</technicalName>
                    <option>Between</option>
                    <sign>Include</sign>
                    <type>Selection</type>
                </variantParameter>
                <variantParameter>
                    <high />
                    <low>ABC*</low>
                    <technicalName>NAME2</technicalName>
                    <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>admin@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
titleJSON


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": "admin@stonebranch.com"
    },
    "enforceVariables": false,
    "environment": [],
    "exclusiveTasks": [],
    "exclusiveWithSelf": false,
    "executionRestriction": "None",
    "exitCodeOutput": null,
    "exitCodeProcessing": "Success Exitcode Range",
    "exitCodeText": null,
    "exitCodes": "0",
    "exportReleaseLevel": "7.67.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*",
                    "technicalName": "NAME1",
                    "option": "Between",
                    "sign": "Include",
                    "type": "Selection"
                },
                {
                    "high": null,
                    "low": "ABC*",
                    "technicalName": "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",
    "lfEnabled": false,
    "lfNthAmount": 5,
    "lfOffsetDuration": null,
    "lfOffsetDurationUnit": "Minutes",
    "lfOffsetPercentage": 0,
    "lfOffsetType": "Percentage",
    "lfTime": "00:00",
    "lfType": "Time",
    "lockVariables": false,
    "logId": null,
    "logLevel": "Inherited",
    "lsDayConstraint": "None",
    "lsDuration": "00:00:00:00",
    "lsEnabled": false,
    "lsNthAmount": 5,
    "lsTime": "00:00",
    "lsType": "Time",
    "maxChildDepth": null,
    "name": "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",
    "twDelayType": "None",
    "twWaitAmount": null,
    "twWaitDayConstraint": "None",
    "twWaitDuration": "00:00:00:00",
    "twWaitTime": "00:00",
    "twWaitType": "None",
    "twWorkflowOnly": "-- System Default --",
    "useAppRc": false,
    "userEstimatedDuration": null,
    "variables": [],
    "version": 11,
    "virtualResources": [],
    "wait": true,
    "waitChild": false,
    "waitForOutput": false
}



...