Apps To Fusion

.......Our Journey from Apps To Fusion

 
  • Increase font size
  • Default font size
  • Decrease font size



Workflow Business Events XML Test Payload

E-mail
User Rating: / 1
PoorBest 
As mentioned in previous article, we will attempt to extract the value of Bank Account Number from the Payload. The extracted value will then be assigned to the WF Attribute. Lets see this working, in steps. You must implement previous article [ Link here for Workflow with Payload ] before trying this exercise.

Step 1. Run the below update
update ap_bank_accounts_all t set t.bank_account_num = '101010' where rownum < 2 ;
commit;
This step will build the XML Payload and initiate the event.


Step 2. Lets go to WF Status Monitor and check to see if Workflow Process has been launched.



Step 3. Click on Workflow details to see if Bank Account Number has been extracted and assigned to desired WF Attribute.



This concludes the testing of XML Payload with Oracle Workflows Business Event.

Note:- You may also decide to use the "Test Functionality" by clicking on Test button in Workflow Event screen. However I preferred testing via a methodology that encapsulates end-to-end approach.

Comments (13)add
...
written by agostino_neto , January 19, 2007
Hi,
For subscriptions, we have to select our system and attach our workflow.
I am able to launch workflow but I can not see bank account number.
XML data is only like this:
-
xx.ap.bank.accountupdate
19486
report abuse
vote down
vote up
Votes: +0
...
written by Ramakrishna , January 19, 2007
Hi
Anil,
after updating records in ap_bank_accounts_all table. not able to see the status monitor for this process..
report abuse
vote down
vote up
Votes: +0
...
written by Anil Passi , January 19, 2007
.
.
.
Hi Ram

I am impressed, you were quick in trying this out.
May be your subscription is in the deferred queue.
Is the phase of subscription between 1 and 99?

If so, email me your screenshots of your event/subscription definitions.

Thanks
Anil Passi
report abuse
vote down
vote up
Votes: +0
...
written by agostino_neto , January 19, 2007
Hi,
For subscriptions, we have to select our system and attach our workflow.
I am able to launch workflow but I can not see bank account number.
XML data is only like this:
-
xx.ap.bank.accountupdate
19486
report abuse
vote down
vote up
Votes: +0
...
written by Ramakrishna , January 19, 2007
Hi
Anil,
after updating records in ap_bank_accounts_all table. not able to see the status monitor for this process..
report abuse
vote down
vote up
Votes: +1
...
written by Anil Passi , January 19, 2007
.
.
.
Hi Ram

I am impressed, you were quick in trying this out.
May be your subscription is in the deferred queue.
Is the phase of subscription between 1 and 99?

If so, email me your screenshots of your event/subscription definitions.

Thanks
Anil Passi
report abuse
vote down
vote up
Votes: +0
...
written by Anil Passi , January 20, 2007
Hi Agostino

Good to see that you are able to initiat Workflow.
So the hard work has been done.

In order to debug your issue, I need your XML Message. Please can you email me that.

Go to Workflow Status Monitor, and click on Workflow Details, and then click on Event Attribute hyperlink to see XML message.

Email me that XML message

Thanks,
Anil Passi
report abuse
vote down
vote up
Votes: +0
...
written by Anil Passi , January 20, 2007
Hi Agostino

Good to see that you are able to initiat Workflow.
So the hard work has been done.

In order to debug your issue, I need your XML Message. Please can you email me that.

Go to Workflow Status Monitor, and click on Workflow Details, and then click on Event Attribute hyperlink to see XML message.

Email me that XML message

Thanks,
Anil Passi
report abuse
vote down
vote up
Votes: +0
...
written by bhaskar , June 26, 2007
hi anil ,
how ru this bhaskar i have one query i have instel oracle 11.5.10.vertion in this datbase is 9i ,now i want instel workflow builder witch vertion it works , i dowenloeded 10 g server but its is asking again oracle home/ path ,
report abuse
vote down
vote up
Votes: +0
...
written by Anil Passi , July 30, 2007
Hi Bhaskar

Simply install the 10g client on your PC. That should come bundled with WF Builder version 2.6.x

This will work with 11.5.10 instance.

Thanks,
Anil Passi
report abuse
vote down
vote up
Votes: +0
...
written by MR , May 12, 2008
Hi
Though Event is raised , the bank_acc_changed_payload is not getting populated with userid , bank number .
it seems as though the l_event_data is getting only event name and event key
MR
report abuse
vote down
vote up
Votes: +0
...
written by khan , February 02, 2010
Hi Anil,
I have followed all the steps implementing payload. when i try to update the bank_account table the trigger fires and raises the event but after that nothing and also when i try to search for my workflow in status monitor screen i can not see anything under that.
I have doubt in the procedure, can please explain the procedure you have created by the name of (xx_get_bank_account_number).
Thanks & Regards,
khan
report abuse
vote down
vote up
Votes: +0
...
written by MAHESWARACHARI KOTTAPALLI , December 03, 2010
I faced the same problem as most of you did. XML payload was not received by the XX_RECEIVE_EVENT. Thats why the next function in the workflow could not parse the bank account number.

The solution to this is we need to pass a dummy parameter like this..

l_parameter_list := WF_PARAMETER_LIST_T := WF_PARAMETER_LIST_T();

-- Then add a dummy parameter

wf_event.addparametertolist ( p_name => 'FIRST_PARAMETER'
,p_value => 'FIRST PARAMETER VALUE'
,p_parameterlist => l_parameter_list
);
-- Pass this parameter list while raising the event along with xmlpayload

wf_event.RAISE ( p_event_name => l_event_name
,p_event_key => l_event_key
,p_event_data => l_event_data
,p_parameters => l_parameter_list --- This point has been missing from the above exampl

Thanks,
Mahesh.K
);
report abuse
vote down
vote up
Votes: +1
Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security image
Write the displayed characters


busy
Last Updated ( Sunday, 23 March 2008 13:46 )  

Search apps2fusion