Latest Posts


Show last 6 hrs - 24 hrs - 7 days

Forum tags


Top Posters

Last 30 days

  • Antoine (38)
  • ravinderjit.singh (30)
  • danielandross (18)
  • venkaiah.k (16)
  • sirswendu.ganapati (14)
  • eva.das (13)
  • milos.vacek (12)
  • metabyte (9)
  • dfrench (5)
  • richard.berger (5)

All time

  • Antoine (1488)
  • Shivanand (1194)
  • cshekhar (928)
  • psq (796)
  • jag (391)
  • metabyte (380)
  • arnaud (328)
  • jalateras (325)
  • dfrench (271)
  • venkaiah.k (214)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
Complete a Task (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Complete a Task
#15612
angel.yaulilahua (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Complete a Task 4 Months, 3 Weeks ago Karma: 0  
Greetings to everyone, I'm trying to complete a task in Intalio from an external application, for that I'm doing tests with soapUI and using the method completeTask of TaskManagerProcess, but to do this is a mistake across the console:

Geronimo Application Server started
14:33:26,156 ERROR [TMSServer] Error to set output abd complete Workflow Task 63595f90fef1a08d:-59e2cae9:11bbc9285f1:-7e41192.168.1.51015815
org.intalio.tempo.workflow.util.RequiredArgumentException: outputDocument may not be null

at org.intalio.tempo.workflow.task.PATask.setOutput(PATask.java:242)
at org.intalio.tempo.workflow.tms.server.TMSServer.setOutputAndComplete(TMSServer.java:192)
at org.intalio.tempo.workflow.tms.server.TMSRequestProcessor.setOutputAndComplete(TMSRequestProcessor.java:257)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:97)
...

Another aspect is that when you invoke the method completeTask from soapUI not automatically invokes the method complete of TaskManagementService, as can be deduced from the following documents:

http://www.intalio.org/confluence/download/attachments/1430/tmp.jpg
http://www.intalio.org/confluence/display/TEMPO/Creating+and+Completin...

I suspect that the mistake was due to filling the parameters of time to invoke the method completeTask, my query is: What are the parameters to be included so as not to generate the error and automatically call the method complete of taskManagementService?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#15632
ihabo01 (Admin)
Admin
User Offline Click here to see the profile of this user
Re:Complete a Task 4 Months, 2 Weeks ago Karma: 5  
Hi,
To complete a task, you need at least to provide:
-TaskId
-participantToken
-Taskoutput

The taskOuput element needs to have exactly one child named output. the child needs to have the namespace of your form.

An example would be:

Code: :

 <completeTaskRequest xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.intalio.com/bpms/workflow/ib4p_20051115" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:m="http://www.intalio.com/bpms/workflow/ib4p_20051115">     <taskMetaData xmlns:b4p="http://www.intalio.com/bpms/workflow/ib4p_20051115">         <taskId>0f2dad1e103331b9:d28912c:11bbd5f11e5:-7494192.168.1.1381900553</taskId>     </taskMetaData>     <participantToken xmlns:b4p="http://www.intalio.com/bpms/workflow/ib4p_20051115">VE9LRU4mJnVzZXI9PWludGFsaW9cYWRtaW4mJmlzc3VlZD09MTIxODY0ODE1OTUzMSYmcm9sZXM9PWV4YW1wbGVzXG1hbmFnZXIsZXhhbXBsZXNcZW1wbG95ZWUsaW50YWxpb1xwcm9jZXNzYWRtaW5pc3RyYXRvcixpbnRhbGlvXHByb2Nlc3NtYW5hZ2VyJiZmdWxsTmFtZT09QWRtaW5pbmlzdHJhdG9yJiZlbWFpbD09YWRtaW5AZX hhbXBsZS5jb20mJm5vbmNlPT0tNjU0MDM0MDQ2OTU1NzIyNDI4NiYmdGltZXN0YW1wPT0xMjE4NjQ4MTU5NTMxJiZkaWdlc3Q9PVovdTFqZDZ5WlJoLzdzaGgxS2NTOElkS3YrRT0mJiYmVE9LRU4</participantToken>     <taskOutput xmlns:b4p="http://www.intalio.com/bpms/workflow/ib4p_20051115">         <output xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns="http://example.com/Form1/xform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:fe="http://example.com/Form1/xform" participantToken="VE9LRU4mJnVzZXI9PWludGFsaW9cYWRtaW4mJmlzc3VlZD09MTIxODY0ODE1OTUzMSYmcm9sZXM9PWV4YW1wbGVzXG1hbmFnZXIsZXhhbXBsZXNcZW1wbG95ZWUsaW50YWxpb1xwcm9jZXNzYWRtaW5pc3RyYXRvcixpbnRhbGlvXHByb2Nlc3NtYW5hZ2VyJiZmdWxsTmFtZT09QWRtaW5pbmlzdHJhdG9yJiZlbWFpbD09YWRtaW5AZ XhhbXBsZS5jb20mJm5vbmNlPT0tNjU0MDM0MDQ2OTU1NzIyNDI4NiYmdGltZXN0YW1wPT0xMjE4NjQ4MTU5NTMxJiZkaWdlc3Q9PVovdTFqZDZ5WlJoLzdzaGgxS2NTOElkS3YrRT0mJiYmVE9LRU4" taskId="0f2dad1e103331b9:d28912c:11bbd5f11e5:-7494192.168.1.1381900553" user="intalio\admin">             <input0 />         </output>     </taskOutput> </completeTaskRequest



I hope that helps
Ihab
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop