Getting Error when Trying To Update Task Payload
Hi,
I am calling updateTask() operation of TaskService to update one of my task's payload...
url : http://host:port/integration/services/TaskService/TaskServicePort
request payload :
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/taskService">
<ns1:updateTask xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/common" xmlns:ns3="http://xmlns.oracle.com/bpel/workflow/task">
<ns2:workflowContext>
<ns2:credential>
<ns2:login>weblogic</ns2:login>
<ns2:password>weblogic11g</ns2:password>
</ns2:credential>
</ns2:workflowContext>
<ns3:task>
<ns3:title>task for PUR Req 700</ns3:title>
<ns3:payload>
<NewBusinessObject
xmlns="http://xmlns.oracle.com/bpm/bpmobject/NewModule/NewBusinessObject">
<pur_sk_seq>700</pur_sk_seq>
<comment>modified comment</comment>
</NewBusinessObject>
</ns3:payload>
<ns3:systemAttributes>
<ns3:taskId>97c2ec0c-0c45-46be-92d5-9a8527f2ae69</ns3:taskId>
</ns3:systemAttributes>
</ns3:task>
</ns1:updateTask>
</soap:Body>
</soap:Envelope>
But I am getting below error in response :
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:env:Receiver</faultcode>
<faultstring/>
<faultactor/>
<detail>
<operationErroredFault
xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
<faultInfo
xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">UPDATE</faultInfo>
</operationErroredFault>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
Please note : my task parameters are editable.
Can someone please help on this issue?
Thanks,
Debdeep
This issue got resolved using the below payload...basically you will need to update the task with all other task details that you will get in response from getTaskDetailsById() or getTaskDetailsByNumber()...
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/taskService">
<ns1:updateTask xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/common" xmlns:ns3="http://xmlns.oracle.com/bpel/workflow/task">
<ns2:workflowContext>
<ns2:credential>
<ns2:login>Niloy</ns2:login>
<ns2:password>welcome1</ns2:password>
<ns2:identityContext></ns2:identityContext>
</ns2:credential>
</ns2:workflowContext>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>Order approval/ Rejection task</title>
<payload>
<process xmlns:ns1="http://xmlns.oracle.com/SOAPOC/HTTest/OrderFetcher" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns="http://xmlns.oracle.com/SOAPOC/HTTest/OrderFetcher">
<ns1:OrderId>122122</ns1:OrderId>
<ns1:Ordername>Ravi Kishore</ns1:Ordername>
<ns1:OrderDate>02-Sept-1952</ns1:OrderDate>
</process>
</payload>
<taskDefinitionURI>default/HTTest!1.0*soa_a3451776-9472-47f1-968c-9498feeefc65/OrderDecider</taskDefinitionURI>
<creator>weblogic</creator>
<ownerUser>weblogic</ownerUser>
<priority>3</priority>
<identityContext>jazn.com</identityContext>
<processInfo/>
<systemAttributes>
<assignedDate>2012-08-30T20:22:05+01:00</assignedDate>
<assigneeUsers>
<id>niloy</id>
<displayName>niloy</displayName>
<type>user</type>
</assigneeUsers>
<createdDate>2012-08-30T19:40:46+01:00</createdDate>
<customActions>
<action>APPROVE</action>
<displayName>Approve</displayName>
</customActions>
<customActions>
<action>REJECT</action>
<displayName>Reject</displayName>
</customActions>
<digitalSignatureRequired>false</digitalSignatureRequired>
<displayInfo>
<applicationName>worklist</applicationName>
<hostname>jcapsmigration</hostname>
<httpPort>7001</httpPort>
<httpsPort>0</httpsPort>
<uri>/workflow/HTForm/faces/adf.task-flow?_id=OrderDecider_TaskFlow&_document=WEB-INF/OrderDecider_TaskFlow.xml</uri>
</displayInfo>
<fromUser>
<id>weblogic</id>
<displayName>weblogic</displayName>
<type>user</type>
</fromUser>
<hasSubTasks>false</hasSubTasks>
<inShortHistory>false</inShortHistory>
<isGroup>false</isGroup>
<numberOfTimesModified>5</numberOfTimesModified>
<passwordRequiredOnUpdate>false</passwordRequiredOnUpdate>
<pushbackSequence>INITIAL_ASSIGNEES;1</pushbackSequence>
<secureNotifications>false</secureNotifications>
<shortHistory>
<task>
<state>ASSIGNED</state>
<updatedBy>
<id>weblogic</id>
<type>user</type>
</updatedBy>
<updatedDate>2012-08-30T19:40:46+01:00</updatedDate>
<version>1</version>
<versionReason>TASK_VERSION_REASON_INITIATED</versionReason>
</task>
<task>
<state>ASSIGNED</state>
<updatedBy>
<id>weblogic</id>
<type>user</type>
</updatedBy>
<updatedDate>2012-08-30T19:47:34+01:00</updatedDate>
<version>2</version>
<versionReason>TASK_VERSION_REASON_UPDATED</versionReason>
</task>
</shortHistory>
<state>ASSIGNED</state>
<substate>REASSIGNED</substate>
<systemActions>
<action>UPDATE_COMMENT</action>
</systemActions>
<systemActions>
<action>VIEW_SUB_TASKS</action>
</systemActions>
<systemActions>
<action>DELEGATE</action>
</systemActions>
<systemActions>
<action>SUSPEND</action>
</systemActions>
<systemActions>
<action>UPDATE</action>
</systemActions>
<systemActions>
<action>UPDATE_ATTACHMENT</action>
</systemActions>
<systemActions>
<action>ESCALATE</action>
</systemActions>
<systemActions>
<action>VIEW_PROCESS_HISTORY</action>
</systemActions>
<systemActions>
<action>REASSIGN</action>
</systemActions>
<systemActions>
<action>VIEW_TASK</action>
</systemActions>
<systemActions>
<action>CUSTOM</action>
</systemActions>
<systemActions>
<action>INFO_REQUEST</action>
</systemActions>
<systemActions>
<action>VIEW_TASK_HISTORY</action>
</systemActions>
<taskId>e1d269a0-a9ae-4ad5-b52d-e5a381d32f15</taskId>
<taskNumber>200040</taskNumber>
<updatedBy>
<id>niloy</id>
<displayName>niloy</displayName>
<type>user</type>
</updatedBy>
<updatedDate>2012-08-30T20:34:31+01:00</updatedDate>
<version>5</version>
<versionReason>TASK_VERSION_REASON_UPDATED</versionReason>
<taskDefinitionId>default/HTTest!1.0*soa_a3451776-9472-47f1-968c-9498feeefc65/OrderDecider</taskDefinitionId>
<taskDefinitionName>OrderDecider</taskDefinitionName>
<workflowPattern>Participant</workflowPattern>
<isTestTask>false</isTestTask>
<participantName>Order Master</participantName>
<assignees>
<id>niloy</id>
<displayName>niloy</displayName>
<type>user</type>
</assignees>
<rootTaskId>e1d269a0-a9ae-4ad5-b52d-e5a381d32f15</rootTaskId>
<systemStringActions>PUSH_BACK,sharePayload</systemStringActions>
<stage>Stage1</stage>
<isTemplateTask>false</isTemplateTask>
<taskViewContext>Transferred</taskViewContext>
<taskNamespace>http://xmlns.oracle.com/SOAPOC/HTTest/OrderDecider</taskNamespace>
<actionDisplayName>Task Updated</actionDisplayName>
<componentType>Workflow</componentType>
<thread>0</thread>
<parentThread>0</parentThread>
</systemAttributes>
<systemMessageAttributes/>
<callback>
<id>OrderFetcher/OrderDecider.TaskService</id>
<converstationId>urn:27E63DC0F2D211E1BFFD9DA87F46F90F</converstationId>
</callback>
<isPublic>false</isPublic>
<sca>
<applicationName>default</applicationName>
<componentName>OrderDecider</componentName>
<compositeDN>default/HTTest!1.0*soa_a3451776-9472-47f1-968c-9498feeefc65</compositeDN>
<compositeInstanceId>110001</compositeInstanceId>
<compositeName>HTTest</compositeName>
<compositeVersion>1.0</compositeVersion>
<ecId>11d1def534ea1be0:-d4d1dba:13978b478c7:-8000-0000000000000800</ecId>
<parentComponentInstanceId>bpel:70001</parentComponentInstanceId>
<parentComponentInstanceRefId>70001-BpInv0-BpSeq1.6-2</parentComponentInstanceRefId>
<compositeCreatedTime>2012-08-30T19:40:09.461+01:00</compositeCreatedTime>
</sca>
<taskDefinitionId>default/HTTest!1.0*soa_a3451776-9472-47f1-968c-9498feeefc65/OrderDecider</taskDefinitionId>
<correlationId>e1d269a0-a9ae-4ad5-b52d-e5a381d32f15</correlationId>
<mdsLabel>soa_a3451776-9472-47f1-968c-9498feeefc65</mdsLabel>
<creatorDisplayName>weblogic</creatorDisplayName>
<ownerUserDisplayName>weblogic</ownerUserDisplayName>
<customAttributes>
<customAttributeNumber1>0.0</customAttributeNumber1>
<customAttributeNumber2>0.0</customAttributeNumber2>
</customAttributes>
</task>
</ns1:updateTask>
</soap:Body>
</soap:Envelope>
Similar Messages
-
Getting error when trying to update apps
I'm getting this error when trying to update CC apps on my iMac:
Update Failed
Unable to write to file/folder. You may exit now, try after disabling your anti-virus, or contact customer support.
Has anyone experienced/resolved this issue?Ggallowaycb it would appear that your current User account's file permissions have become compromised and you are unable to write/modify a specific directory. Please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html for information on how to adjust your file permissions.
-
HT4623 I keep getting error when trying to update to version 7.1
I'm trying to update but it keeps getting an error
Me too- been trying for >1hr and If get a "software Update Failed" and "an error occurred downloading IOS 7.1."
I'm still on version 6.1.4. Can't believe the servers are still that swamped... -
I'm trying to re-install i-tunes on my PC but it won't let me. I had an error message when i loaded i-tunes and then uninstalled it as instructed. what do i do now?
After I did that I tried to install and it just tells me "Thank you for using itunes" without actually installing it.
Try downloading an installer from the Apple website using a different web browser:
http://www.apple.com/itunes/download/
If you use Firefox instead of IE for the download (or vice versa), do you get a working installer? -
I keep getting an error when trying to update an app- cannot connect to store. I logged out from my account and tried to log back in and got the same error. I am doing all this from my phone since I no longer own a personal computer (only work) since I use iCloud and I tunes match
YAY!!! Saved it in my Mac's Firefox Bookmarks for easy future access!
Hope you are having a lovely afternoon today! I'm about ready to go bobo....I have an early meeting, and I don't want to oversleep! The nice part is that I work remotely, so I only have to wake up 15 minutes or so before the meeting.... I don't even use an alarm clock anymore (really, my iPhone alarm, which is much more pleasant), unless I have to get up at 6:30 or something....
TMI?
GB -
Getting an "u43m1d204" error when trying to update Illustrator CS6
I keep getting an "u43m1d204" error when trying to update Illustrator CS6 to 16.2.1 as part of my Creative Cloud subscription.
I'm updating via the Adobe Applicatioin Manager (Version 7.0.0.233 (7.0.0.233)).
I've tried it several times now over the past few days.
Best regards,
ErikSame problem here, and I have waited more than a few minutes as asked by the Adobe Application Manager, but I am still getting the same error.
Mac OS X Mountain Lion (10.8.2) -
HT4623 I keep getting an error when trying to update my iPad 2
I keep getting an error when trying to update my iPad 2
http://support.apple.com/kb/HT4623
Can you please describe this error? What, exactly, is happening? What, exactly, does the error message – if any – say? -
Getting an error when trying to update payment information on iTunes
Getting an error when trying to update payment information on iTunes
If you would like help from these user forums then saying what the error message was would be useful.
-
Getting an error when tried to access task form from worklist app
Hi All,
I am using 10.1.3.4 BPEL PM. I have created a bpel process with a human task.
From the worklist application, when the approver clicks on: Task Id (ideally it should open task form).
In my case, I am getting an error:
Error while inoking URL to display the content. Error while invoking URL. http://bluejays.appsassociates.com:7780/default/EditPayloadPOC1/v2009_05_21__82618/EditPayloadPOC1/EditPayloadPOC1.jsp Check the underlying exception and correct the error. Contact oracle support if error is not fixable..
If you need more information, please check with your administrator with the following exception-identifier: "2009/05/21_12:16:43:777_oc4jadmin"
It works fine in SOA suite 10.1.3.1. and does not work in BPEL PM 10.1.3.4
The only difference is I deployed in 10.1.3.1 using Ant script of bpel project and in 10.1.3.4 I deployed using the BPEL Console itself by browsing the project jar(Since I am getting error when tried to deploy it using Ant).
Is it a known bug or am I making anything wrong. Tried with both Autogeneration and Custom form
I followed: http://download.oracle.com/docs/cd/E11036_01/integrate.1013/b28981/workflow.htm#BABCBAEI
Thanks
Sakrishna PanugantiHi does your bpel process has more than one human tasks, e.g., HumanTask1, HumanTask2, HumanTask3...then pl. check and manually fix this below ...e.g.,
check for all of the human tasks workflow contexts tasks forms for dynamic pointers for
domain_id, process_id, process_version.
edit public_html/HumanTask1/form/ear/META-INF/application.xml
<web-uri>workflowform.war</web-uri>
<conteit-root>/${domain_id}/${process_id}/${process_revision}/HumanTask1</context-root>
edit public_html/HumanTask2/form/ear/META-INF/application.xml
<web-uri>workflowform.war</web-uri>
<conteit-root>/${domain_id}/${process_id}/${process_revision}/HumanTask2</context-root>
edit vi public_html/HumanTask3/form/ear/META-INF/application.xml
<web-uri>workflowform.war</web-uri>
<conteit-root>/${domain_id}/${process_id}/${process_revision}/HumanTask3</context-root>
and deploy the process again via jdeveloper or preferably via ant script and try, it worked just fine for us. -
Getting a U43M1D204 error when trying to update After Effects and Premiere Pro
Getting a U43M1D204 error when trying to update After Effects and Premiere Pro. I have tried reinstalling the cloud installer and all of my programs with no luck. HELP!! I need the update because I have no direct link from Speedgrade back to Premiere Pro
See if the following posting helps: http://forums.adobe.com/message/4629442#4629442
-
Hi - keep getting a DW040 error when trying to update photoshop
Hi
I keep getting a DW040 error when trying to update photoshopCitusPhotography can you please paste the portion of the log file which contains the error? Also which operating system are you using?
-
Error when trying to update or download any app
I'm getting an Error when trying to update or download any app from Mac App Store
Every time I try to update xCode to version 6.2 but I get this error :
The server gave an error during download: 503 Service Unavailable.
So I tried to download a random app from the App Store but I got the same error message.
So any advices ?Hello HusseinAlBehary,
Sorry to hear your troubles updating and downloading apps from the Mac App Store. Based on when you were doing that, it looks like the Mac App Store was experiencing difficulties. It is not currently so you should be able to upgrade with out issues now. If you experience this in the future, look at the page below to start you on figuring out if it is something on your end or Apple’s end.
Apple Services, Stores, and iCloud
https://www.apple.com/support/systemstatus/
Regards,
-Norm G. -
U44M1P7 error when trying to update Photoshop
HI all
I'm getting the U44M1P7 error when trying to update Photoshop CS6 to the new Creative Cloud version via AAM. Anyone know what is causing this and how I can get the update to load
Computer
Third gen i7, 8GB RAM, Windows 8, 2GB NVIDIA 650MTry this manual download link, it worked for me.
http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5595&fileID= 5604
Scott -
Permissions error when trying to update
permission error when trying to update.
Hi,
If you already have Admin Rights and still getting the permission error then please try installing the update manually from following link:
http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows
For Acrobat 11 - 11.0.6
For Acrobat 10 - 10.1.10
Regards,
Anoop -
Getting error when trying to create Exchange Connector in System Center Service Manager 2012
Getting error when trying to create Exchange Connector in System Center Service Manager 2012
The connection to the server was unsuccessful. Please check the server name and/or credentials entered.
Additional Information: The server URL is not accessible or the user does not have permission to access it (message: The request failed. The remote server returned an error: (401) Unauthorized.
Warm Regards, Pramod Kumar Singh Manager-ITSomeone sorted out this issue by installing API 1.2 and copying the dll files to the service manager server ,service folder and replacing it with API 2.0 dll files.
Also, your question is related to SCSM, please post at SCSM forum if you have further question.
Juke Chou
TechNet Community Support
Maybe you are looking for
-
kindly suggest me the php parsing script so that i can fetch the data from a web page..... suppose we have a url......... http://abc.com/news/companydetails.aspx?sskicode=x&Exchange=y and the page contains the various fields.........like xyz 10 xyz1
-
My photos will not stay in the order I uploaded them to my my iPod and they changed their names
I'm really frustrated. I'm trying to put photos in albums on my iPod and iPad. I arranged them on my computer into the order I wanted and uploaded the files I wanted via iTunes as per directions. They are not in the order that they were in the file
-
The logo that started showing up yesterday is from like 3-5 years ago, so unless Gmail is going retro for some reason it doesn't make any sense. I suspected and tried disabling Gmail Watcher 2.18 and Stylish 1.4.3 add-ons, because I recently updated
-
SSIS excel connection datatype issue
HI Please find data below ColA ColB 74378 11213 312 21312 34 234 7329 27924 23423 224353 42342 13243 54245 32321 25423 6483 5234
-
This is getting out of hand and starting to affect my work and quizzes. Please tell me this is something that can be easily fixed? I didn't have the problem til about 2 weeks ago.