Utilice este método para ejecutar un proceso.
<tns:executeProcess xmlns:tns="http://www.ca.com/itpam"> <tns:flow> <tns:name>/MIMETEST</tns:name> <tns:action>start</tns:action> <tns:auth> <!--xsd:Choice Type--> <tns:token>token__</tns:token> <tns:user>Joe</tns:user> <tns:password>thisismypassword</tns:password> <tns:auth> <tns:params> <tns:param name="name_6__">param__</tns:param> </tns:params> <tns:options> <tns:startDate>startDate__</tns:startDate> <tns:startTime>startTime__</tns:startTime> <tns:tagId> 06a4d113-0333-4aba-8cce-8781c18647c9</tns:tagId> <tns:isAutoArchive>true</tns:isAutoArchive> <tns:priority>priority__</tns:priority> </tns:options> <tns:attachments attachmentsParamName="name"> <tns:attachment> <tns:attachmentID>123</tns:attachmentID> <tns:name>MIMETEST</tns:name> <tns:localSourceLocation>"C:\\setupdir.log"</tns:localSourceLocation> </tns:attachment> </tns:attachments> </tns:flow> </tns:executeProcess>
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <tns:executeProcess xmlns:tns="http://www.ca.com/itpam"> <tns:flow> <tns:name>/MIMETEST</tns:name> <tns:action>start</tns:action> <tns:auth> <tns:user>Joe</tns:user> <tns:password>thisismypassword</tns:password> <tns:auth> <tns:params> <tns:param name="name_6__">param__</tns:param> </tns:params> <tns:options> <tns:startDate>startDate__</tns:startDate> <tns:startTime>startTime__</tns:startTime> <tns:tagId> 06a4d113-0333-4aba-8cce-8781c18647c9</tns:tagId> <tns:isAutoArchive>true</tns:isAutoArchive> <tns:priority>priority__</tns:priority> </tns:options> <tns:attachments attachmentsParamName="TENSU03"> <tns:attachment> <tns:attachmentID>123</tns:attachmentID> <tns:name>MIMETEST</tns:name> <tns:localSourceLocation>"C:\\setupdir.log"</tns:localSourceLocation> </tns:attachment> </tns:attachments> </tns:flow> </tns:executeProcess> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Las etiquetas siguientes están en la etiqueta [assign the value for flow in your book]:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ExecuteC2OFlowResponse xmlns="http://www.ca.com/itpam"> <ExecuteC2OFlowResult> <ROID>150</ROID> <flow-name>/MIMETEST</flow-name> <flow-action>start</flow-action> <auth-user>pamadmin</auth-user> <submission-time>2012-01-18T09:26:36.453+05:30</submission-time> <sender-address>none</sender-address> <connection-id>none</connection-id> <message>Document accepted for processing</message> <params> <param name="RuntimeROID">150</param> <param name="ServerId">1b4bda3d-bc5c-4a89-a2ad-23e2d4e71bce</param> <param name="effectiveUser">pamadmin</param> <param name="InstanceUUID">659322db-deca-4827-b622-14f69d09b33c</param> <param name="name_6__">param__</param> <param name="UserName">pamadmin</param> <param name="ProcessName">/MIMETEST</param> <param name="ServerName">lodivsa204.ca.com</param> <param name="DisplayName">MIMETEST</param> <param name="ProcessPriority">priority__</param> <param name="TouchpointName">Orchestrator</param> <param name="CallerUser">pamadmin</param> <param name="ScheduledStartTime">2012-01-18 00:00:00</param> <param name="rootUUID">659322db-deca-4827-b622-14f69d09b33c</param> <param name="ProcessAction">start</param> <param name="InstanceName">MIMETEST_150</param> </params> </ExecuteC2OFlowResult> </ExecuteC2OFlowResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
En esta respuesta, el usuario puede ver los detalles de la instancia del proceso que se ejecuta.
<ROID> especifica el ROID de la instancia del proceso.
|
Copyright © 2013 CA.
Todos los derechos reservados.
|
|