Payload set by API but dataObject remains empty and data does not flow
Hi,
We used ADF to programatically set the payload of a new BPM Instance, using JDev 11.1.1.6 and our BPM is also 11.1.1.6. Followed standard documentation.. and payload gets set, and submitted.
firstTask.setPayloadAsElement(payload);
wfSvcClient_.getTaskService().updateTaskOutcome(ctx, firstTask, Utilities.INIT_TASK_SUBMIT_OUTCOME);
When we check in the BPMN for "exiting the initiator activity", we see payload set BUT dataObject with no elements set (empty):
<auditQueryPayload auditId="505000" ciKey="560017">
<serviceOutput>
<element name="execData" detailId="59246" isBusinessIndicator="false"> <value> <task xmlns="http://xmlns.oracle.com/bpel/workflow/task"> ...
<payload> <PurposeOfFiling xmlns="http://xmlns.oracle.com/OR1/OR1_FORMS_V2/PurposeOfFiling">
*<purOrganizationId>C078</purOrganizationId>*
</PurposeOfFiling> </payload>
..... </serviceOutput>
<dataState> <dataObject name="PurposeOfFiling" isBusinessIndicator="false"> <value>
<PurposeOfFiling xmlns="http://xmlns.oracle.com/bpm/bpmobject/BusinessObjects/PurposeOfFiling">
*<purOrganizationId></purOrganizationId>*
</value></dataObject></dataState>
</auditQueryPayload>
On entering the second activity (there is nothing between the first and second activity, i.e. direct link), the form comes up empty.
It appears that in "firstTask.setPayloadAsElement(payload);" the payload is getting set, but the dataObject is empty, and that the dataObject is what is feeding the second activity, and so that is empty.
Is there a way that we can ensure that the payload "feeds" the dataObject?
Or alternatively, that the payload "feeds" the second activity?
How would it be done? Would really appreciate any assistance.
Thanks!
Ali.
Thanks Bill.
It was something that I had in an earlier build (when I was looking into payload updates) and had removed.. but I've gone ahead and put it back.
These are my results:
When the BPM Application Output is wired for dataObject -to- dataObject (which I think is the right way to do), then the dataObject still remains empty.
When the BPM Application Output is wired for UI -to- dataObject, then the Instance gets suspended due to uninitializedVariable.
When the BPM Application Output is not wired at all (and Input was never wired to begin with) then dataObject is missing all together.
One thing I noticed (on just trying the first activity by itself) is that the payload is shown in the UI (i.e. task Payload gets into UI). This was the effect of the "updateTask".
However, in case of programatic SUBMIT, the payload is still not passed to the next activity. This appears to be once again because the dataObject itself is not being set.
Also interestingly I found the below BUG request recently (3/22/2013) registered with Oracle, asking for APIs to be able to get/set the actual dataObject:
BUG 16537745 - ABILITY TO ACCESS PROCESS INSTANCE DATAOBJECT VALUES USING API --> Oracle Business Process Management Suite
- I don't have access to the details of it, but I'm guessing that their dataObject was not being set, and so API Access is requested to set it.
However, if there is an existing solution - whereby the dataObject payload can be set (besides the task Payload), I'd much appreciate.
Thanks!
Similar Messages
-
I have changed my icloud email in my iphone but in macbook still using old email. I tried to delete the old email in macbook but it requires password and it does not accept the old password for the old email anymore. How do I remove this old email?
Hello farahani hairon nizar,
If your Apple ID was changed from your old account, you may have to change it back to your old account to be able to sign out and then change it back after that is done. Take a look at the article below for more information.
If you're asked for the password to your previous Apple ID when signing out of iCloud
http://support.apple.com/en-us/HT203828
Regards,
-Norm G. -
I purcahsed an in-app set of tokens for Buster Bash Pro and it does not appear in my game. What do I do now?
You could try contacting the store support staff at http://www.apple.com/emea/support/itunes/contact.html they are very good at resolving problems.
-
Setting up my brand new MacBook Pro and it will not connect to the wifi network. Nothing wrong with the network which is happily working for my iPhone and iPad! Suggestions accepted for making this connection.
Fixing this is a two step process:
1) System preferences > WiFi/Airport ...
... check [√] Ask to join new networks
"Known networks will be joined automatically.
If no known networks are available, you will
be asked before joining a new network."
2) Remove unwanted networks from the list of "known" networks under
System preferences > WiFi/Airport > (Advanced) > | Airport/WiFi pane ...
Close the window and save changes. If no joy, do a restart to ensure you are playing under the new rules. -
Why wont my iPad accept MP4 Files in my iTunes library unless I sync it. I soooooooooooooo miss drag and drop to the side.
Have your tried using the View menu item Show Sidebar?
This will restore the function of iTunes 11 to what you find familiar. -
I have both Firefox apps and neither one wants to show on my TV when watching something
Hello,
Please refer to this thread for some help.
https://support.mozilla.org/questions/1050306
Hope this helps! -
Paypal for Family Sharing - Why can't I use PayPal with Family Sharing? Have a US Visa card but a foreign address, and Apple does not seem to be able to cope with that (even though it is a multinational corporation). So I set up payment with Paypal, and it worked fine. Now I want to take advantage of Family Sharing, but Apple won't allow it. Could we lean on Apple to change this policy?
If you are not in the US then you cannot use the US store, the store's terms say that you have to be in a country to use it - if you are using the US store then you are risking having your account disabled.
In terms of feedback for Apple : http://www.apple.com/feedback/ -
I bought an apple iPod 5th generation the other day and I cannot remember the unlock passcode. I have done the restore thing, but because I never set it up or synced it with iTunes, it does not recognize my device. It is disabled for one hour. There's only a few things that could be my passcode, but because it disables for an hour, it is time consuming trying to figure it out. What do I do? I do not care about having to erase everything since it's new and there's nothing on it, but it was never synced with iTunes.
Disabled
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: Back up and restore your iOS device with iCloud or iTunes
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode. -
How can I set screen saver clock which show time and date when all screen is black. Other phones have this option but I didn't find on iphone. Pl guide.
HA! I figured the find my iphone out!!!!! You can have more than one icloud account in "Mail, Contacts and Calendars". So my husband's & kids' phone icloud account under "settings, icloud "is their individual @me.com account. Set it to everything you want EXCEPT Find My Iphone. Then under "settings, mail/contacts/calendars" you set up both accounts (your @me.com which may already be there), then add another with the main appleID and enable ONLY Find My Iphone. Now when any of us log into Find My Iphone from any device with our main apple ID for the app store, all the devices show up!!!! YIPPEE. I made my own day!
I think the message I got previously was because I hadn't disabled the find my iphone on the @me.com account first. -
Can any explain the following: Background; my company uses google business app to host our email and calander. Ok, I just set up a iCal event and invited 3 people. 1 internal claims he never got but it showed on his daughters iPod and she does not email.
Hello binbingogoABC,
Shopping on BestBuy.com should be easy and fun and not fraught with the kind of trouble that you describe. I regret very much that this has been your experience.
Using the information you provided when you signed up for Best Buy Unboxed I was able to locate your cancelled orders. I have requested more information from my back-office partners. As soon as I have additional details about your situation, I will reply again to this message. In the interim, I'm sorry that I must impose upon your patience.
I'm very grateful that you wrote to us with your concerns.
Sincerely, -
Hello, can someone help please. I'm getting my emails OK but only the headers and date but no content. I have set up three accounts and they were all OK yesterday. What have I done or what can I do please?
Sorry I see someone has answerd this altready Please ignore me !
-
Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?
Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
After that is done reboot the machine and see if you can log in.
If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
Reboot and try again.
If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
Lots of work, but there is no Lion disks.
https://discussions.apple.com/message/16276201#16276201 -
I want to transfer a movie I have bought in itunes to my new IPAD. I have been trying to work how to do this for 3 days now. I have accessed all the itunes help and forums and wiki online. They all tell me to go to the DEVICES tab on itunes and select IPAD then sync. YUP seem simple, BUT there is not DEVICES tab listed on my itunes and it does not list IPAD. Years ago I set up my IPOD no problem and that is listed, but not the new IPAD. Can anyone help? I would love to be able to actually watch films on my IPAD!! thanks
If you have iTunes 11 on your computer then you can enable the left-hand sidebar on it via option-command-S on a Mac, control-S on a PC - when connected (and if your computer's iTunes is up-to-date) your iPad should then appear on that sidebar under a 'Devices' heading :
If you select the iPad on that sidebar you can then use the Movies tab on the right-hand side of the iTunes screen to select and sync that film to your iPad's Videos app.
Has your iPad been synced to the computer before ? If not then you might find this page for syncing to a new computer useful : https://discussions.apple.com/docs/DOC-3141 -
Since I updated my 4S iphone to the latest iOS7 version, I can no longer close any of my apps. As a result, all my apps remain open on my phone. Even powering down and restarting does not solve the problem. Specifically, when I double-click the start button, my open app icons display. But when I hold my finger on an icon, the apps do not wiggle and display an "x" to close. Any advice... thanks?!
Double tap the Home button, then swop upwards on the App Preview (not the App Icon). Tap the Home button again when done to return to normal screen.
-
Validation "is a valid date" does not pass but Apex proceeding anyway
Hi,
I have a simple date-item which I validate first against "not null", then for "is a valid date", then that the date is not in the future.
In debug mode the first validation passes, the second ( is a valid date ) does not pass, but the validation process proceeds anyway...!? Then the third validation "date not in the future" produces ad DB-Error because it is not a valid date.
Why does the validation proceed even if the validation does not pass...?
Version 2.2.0
JuergenJuergen,
"In debug mode the first validation passes, the second ( is a valid date ) does not pass, but the validation process proceeds anyway...!?"
Do you mean that the third validation is firing even though the second is failing? This behaviour is correct. All validations fire (regardless of any having already failed) unless they have specific conditions set on them to make them act differently.
If you don't want the third validation to fire if the second has failed then you will need to put a condition on the 3rd validation to prevent this. Alternatively you could bundle all you validations into one of type "PL/SQL returning Error Text" then have some IF...THEN...ELSE logic in your PL/SQL to return the relevant validatoin text depending on what the problem is (i.e. Date is null, date is invalid or date is in the future).
Andy
Maybe you are looking for
-
I want Apply trigger to all the forms in application
I have written a trigger when_timer_expired,it runs only when the form is runs. it does not execute when that form calls another form. Is there anyway by which the can apply the trigger to all the forms In the Application .
-
Keyboard short, different sequences, as you would tabs in Firefox
Often I will work with a couple of sequences open and skip between them, presently I click on the tab to move between them, surely there is a keyboard shortcut for this, please prove my ignorance and tell me what it is. Tony
-
HT203216 How can I syncing my iphone with my computer calendar?
How can I syncing my iphone with my computer calendar?
-
Convert Column from Varchar to NVarchar
Hi Guys, i know we cannot alter a columns datatype when there is a data. but the problem is that i would like to alter a datatype with the data in database. as there is no downtime to our server. im not sure this can be achieved, but i feel someone m
-
B570 OneKey Recovery to new SSD
Hi all, I have a B570 laptop purchased in 2012; I created the system recovery disks on first boot up which fitted on 2 DVD's. I have just swapped my WD 750GB 5400RPM HDD for a Samsung 850 EVO 500GB SSD. I wanted to run a fresh install of windows 7 us