(The Examples shown below is just an example)
1>.Open the workflow
builder.
Create one attribute to hold the Business
Event Key.
à
Right click on “Attributes” node and select “New Attribute”
Put the value of the
event key here or you have choice to give the same value at workflow run time
2>. Create one
attribute to hold the Business Event Name.
à Right click on “Attributes” node and select “New
Attribute”
Put the value of the
event name here or you have choice to give the same value at workflow run time
3>. Create one
attribute to hold the Business Event Attribute.
à
Right click on “Attributes” node and select “New Attribute
Put the value of the
event key here or you have choice to give the same value at workflow run time
4>. Create one simple
Process (or you can add the business Event in the existing process itself).
5>. Create one Event.
à
Right click on the “Events” node and select “New Event”
Select “Event Action” – “Raise”
6>. Drag the event
attribute (Event Attribute) to the event (Business Event Testing) created.
7>. Now drag the event
created to the right hand side process window and link to the required nodes of
the process (here event is linked with the “Start” and “End” node)
à Double click on the Event
( In the process window).
In the “Node Attributes”
tab it will show the Event Attribute attached to the Event.
8>. Now in the “Event
Details” tab select the appropriate item attributes for “Event Name” and “Event
Key”.
10>. Open application and search your
workflow.
Navigation ::
System
Administrator/Workflow Administrator Web Applications à Administrator Workflow à
Developer Studio
à Search the workflow with
Item type (Internal name)
à Click on “Run”
11>. Put the “Item
key” and other workflow attributes value here if you have not attached to the
workflow at the time of creation.
à Click on “Submit”
12>. It will show the
business event raising confirmation window.
à In
wf_deferred table there should one row for this business event. (If Phase value if more than 99- See Event Subscription)
SELECT *
FROM
wf_deferred
WHERE CORRID LIKE '%<business event
name>%';
No comments:
Post a Comment