Workflow Activity Completion

Former Member
Former Member
I am trying to complete workflow assignment with AML but it is acing weird.   My request xml looks like given below: <Item action="EvaluateActivity" type="Activity"> <Activity>DE33049EBA694267A44CA41A002E7C51</Activity> <ActivityAssignment>99E2CFE208154E4FBD70E75DE6AB4B74</ActivityAssignment> <Paths><Path>2312B2C556DC4C028F740433E629C934</Path>Submit</Paths> <DelegateTo>0</DelegateTo> <Tasks><Task Completed="1">03D548CE54834C27BDB7974175C8A43F</Task> <Task Completed="1">DEB21FCD697942DC91DFCBECB21747A4</Task></Tasks> <Variables><Variable id="451171CA8A144AD8B87E065216208B02">vb cvbnvxn</Variable> </Variables> <Authentication mode=""/> <Comments>xcbxcvb xcxcbx</Comments> <Complete>0</Complete> </Item> My response reads like the following: <SOAP-ENV:Envelope><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>The action "",EvaluateActivity is not supported.</faultstring><detail><af:legacy_detail>The action "",EvaluateActivity is not supported.</af:legacy_detail></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>   Further more response in nash with the same request is following: <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../"><SOAP-ENV:Body><SOAP-ENV:Fault xmlns:af="">www.aras.com/.../faultcode><faultstring><![CDATA[Failed to get the Activity Tasks.]]></faultstring><detail><af:legacy_detail><![CDATA[Failed to get the Activity Tasks.]]></af:legacy_detail><af:legacy_faultstring><![CDATA[Workflow: EvaluateActivity: Specified Tasks are not found for Activity]]></af:legacy_faultstring></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>   I looked at the request xml using Admin->saveRequest setting and my xml matches with what is sent by the official client. What am I missing?          
Parents
  • From the innovator admin wiki. Your request should look like the following:
    <!-- SOAP_ACTION = EvaluateActivity, ApplyAML, or ApplyItem -->
    <AML>
     <Item type="Activity" action="EvaluateActivity">
     <Activity>{Activity ID}</Activity>
     <ActivityAssignment>{Assignment ID}</ActivityAssignment>
     <Paths>
     <Path id="{ID of the chosen Path}">{Name of the chosen Path}</Path>
     </Paths>
     <DelegateTo>{Either '0' or the ID of the user to delegate to.}</DelegateTo>
     <Tasks>
     <Task id="{ID of the task}" completed="{'0' or '1' indicating if the task was completed}"></Task>
     </Tasks>
     <Variables>
     <Variable id="{ID of the variable}">{Value of the variable}</Variable>
     </Variables>
     <Authentication mode="{Type of authentication (e.g. e-signature)}">{Password for the type of authentication}</Authentication>
     <Comments>{Comments}</Comments>
     <Complete>{'0' or '1' indicating if the activity is complete}</Complete>
     </Item>
    </AML>
    It looks like the Task ID cannot be placed within the task tag, but in an attribute on that tag.
Reply
  • From the innovator admin wiki. Your request should look like the following:
    <!-- SOAP_ACTION = EvaluateActivity, ApplyAML, or ApplyItem -->
    <AML>
     <Item type="Activity" action="EvaluateActivity">
     <Activity>{Activity ID}</Activity>
     <ActivityAssignment>{Assignment ID}</ActivityAssignment>
     <Paths>
     <Path id="{ID of the chosen Path}">{Name of the chosen Path}</Path>
     </Paths>
     <DelegateTo>{Either '0' or the ID of the user to delegate to.}</DelegateTo>
     <Tasks>
     <Task id="{ID of the task}" completed="{'0' or '1' indicating if the task was completed}"></Task>
     </Tasks>
     <Variables>
     <Variable id="{ID of the variable}">{Value of the variable}</Variable>
     </Variables>
     <Authentication mode="{Type of authentication (e.g. e-signature)}">{Password for the type of authentication}</Authentication>
     <Comments>{Comments}</Comments>
     <Complete>{'0' or '1' indicating if the activity is complete}</Complete>
     </Item>
    </AML>
    It looks like the Task ID cannot be placed within the task tag, but in an attribute on that tag.
Children
No Data