Skip to content

Instantly share code, notes, and snippets.

@eouthwaite
Created November 21, 2017 16:56
Show Gist options
  • Save eouthwaite/27706b32188e9204e2903c8735dff03a to your computer and use it in GitHub Desktop.
Save eouthwaite/27706b32188e9204e2903c8735dff03a to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<ext:readResponse xmlns:ext="http://marklogic.com/rest-api/resource/process">
<ext:outcome>SUCCESS</ext:outcome>
<ext:document>
<wf:process id="c50e740e-bf6c-406a-9ec2-ccce4bb4f9f0-2017-11-21T15:05:50.160185Z" title="015-restapi-tests__1__2" name="015-restapi-tests" major="1" minor="2" xmlns:wf="http://marklogic.com/workflow">
<wf:data>
<choiceA>B</choiceA>
<choiceB>C</choiceB>
<newassignee>admin</newassignee>
<unlock-new-data>Some data created on request to unlock</unlock-new-data>
<complete-data>Some data added by complete action</complete-data>
</wf:data>
<wf:attachments>
<wf:attachment name="Menace" uri="/some/squid.xml">
</wf:attachment>
<wf:attachment name="Document" uri="/initial/sampledoc.xml">
</wf:attachment>
</wf:attachments>
<wf:audit-trail>
<wf:audit>
<wf:when>2017-11-21T15:05:53.226666Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/initial</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:05:56.425238Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/StartEvent_1</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:06:57.731437Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/UserTask_1</wf:state>
<wf:description>Marking as Complete</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:06:59.230264Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/UserTask_1__complete</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:10:39.909271Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/UserTask_2</wf:state>
<wf:description>Marking as Complete</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:10:39.984846Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/UserTask_2__complete</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:43:33.768598Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/UserTask_4</wf:state>
<wf:description>Marking as Complete</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:43:48.817115Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/UserTask_4__complete</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:43:49.915803Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/ExclusiveGateway_1</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:43:50.099593Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/Task_1</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:43:50.116282Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/ExclusiveGateway_2</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:43:50.332323Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/ExclusiveGateway_3</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
<wf:audit>
<wf:when>2017-11-21T15:43:50.790829Z</wf:when>
<wf:category>ProcessEngine</wf:category>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/EndEvent_2</wf:state>
<wf:description>Completed step</wf:description>
<wf:detail>
</wf:detail>
</wf:audit>
</wf:audit-trail>
<wf:metrics>
<wf:metric>
<wf:state>http://marklogic.com/states/initial</wf:state>
<wf:start>2017-11-21T15:05:53.226666Z</wf:start>
<wf:finish>2017-11-21T15:05:53.226666Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
<wf:metric>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/StartEvent_1</wf:state>
<wf:start>2017-11-21T15:05:56.425238Z</wf:start>
<wf:finish>2017-11-21T15:05:56.425238Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
<wf:metric>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/UserTask_1__complete</wf:state>
<wf:start>2017-11-21T15:06:59.230264Z</wf:start>
<wf:finish>2017-11-21T15:06:59.230264Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
<wf:metric>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/UserTask_2__complete</wf:state>
<wf:start>2017-11-21T15:10:39.984846Z</wf:start>
<wf:finish>2017-11-21T15:10:39.984846Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
<wf:metric>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/UserTask_4__complete</wf:state>
<wf:start>2017-11-21T15:43:48.817115Z</wf:start>
<wf:finish>2017-11-21T15:43:48.817115Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
<wf:metric>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/ExclusiveGateway_1</wf:state>
<wf:start>2017-11-21T15:43:49.915803Z</wf:start>
<wf:finish>2017-11-21T15:43:49.915803Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
<wf:metric>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/Task_1</wf:state>
<wf:start>2017-11-21T15:43:50.099593Z</wf:start>
<wf:finish>2017-11-21T15:43:50.099593Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
<wf:metric>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/ExclusiveGateway_2</wf:state>
<wf:start>2017-11-21T15:43:50.116282Z</wf:start>
<wf:finish>2017-11-21T15:43:50.116282Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
<wf:metric>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/ExclusiveGateway_3</wf:state>
<wf:start>2017-11-21T15:43:50.332323Z</wf:start>
<wf:finish>2017-11-21T15:43:50.332323Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
<wf:metric>
<wf:state>http://marklogic.com/states/015-restapi-tests__1__2/EndEvent_2</wf:state>
<wf:start>2017-11-21T15:43:50.790829Z</wf:start>
<wf:finish>2017-11-21T15:43:50.790829Z</wf:finish>
<wf:duration>PT0S</wf:duration>
<wf:success>true</wf:success>
</wf:metric>
</wf:metrics>
<wf:process-definition-name>015-restapi-tests__1__2</wf:process-definition-name>
</wf:process>
</ext:document>
<ext:properties>
<prop:properties xmlns:prop="http://marklogic.com/xdmp/property">
<cpf:processing-status xmlns:cpf="http://marklogic.com/cpf">done</cpf:processing-status>
<cpf:property-hash xmlns:cpf="http://marklogic.com/cpf">9b173ca316c8f623f2f0793ab7081c8a</cpf:property-hash>
<cpf:last-updated xmlns:cpf="http://marklogic.com/cpf">2017-11-21T15:10:13.927615Z</cpf:last-updated>
<cpf:state xmlns:cpf="http://marklogic.com/cpf">http://marklogic.com/states/015-restapi-tests__1__2_end</cpf:state>
<wf:start xmlns:wf="http://marklogic.com/workflow">2017-11-21T15:05:56.425238Z</wf:start>
<wf:status xmlns:wf="http://marklogic.com/workflow">COMPLETE</wf:status>
<cpf:self xmlns:cpf="http://marklogic.com/cpf">/workflow/processes/015-restapi-tests__1__2/c50e740e-bf6c-406a-9ec2-ccce4bb4f9f0-2017-11-21T15:05:50.160185Z.xml</cpf:self>
<wf:end xmlns:wf="http://marklogic.com/workflow">2017-11-21T15:43:50.790829Z</wf:end>
</prop:properties>
</ext:properties>
</ext:readResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment