Skip to Content
Author's profile photo Siddhant Bhatankar

Complete BPM Process in 30 Easy Steps (Integrating a developed UI and Web-Service, Creating an XSD and Trigger Emails)

Hello Everyone,

This document describes how to make a simple BPM process with Integration of a WD UI (WDJ in this case), importing and using a Web-Service in the process and creating an XML schema to be used in the Project.

Pease follow the following steps and refer to the snapshots to create a sample process:

1. Create the BPM DC:

/wp-content/uploads/2013/09/1_288553.jpg

2. Select the Perspective:

/wp-content/uploads/2013/09/1_288553.jpg

3. Name the DC and give necessary description:

/wp-content/uploads/2013/09/1_288553.jpg

4.  Created DC:

/wp-content/uploads/2013/09/1_288553.jpg

5. Creating a New Process:

/wp-content/uploads/2013/09/1_288553.jpg

6.  Naming your Process and selecting the orientation:

/wp-content/uploads/2013/09/1_288553.jpg

The created process:

/wp-content/uploads/2013/09/1_288553.jpg

7. Creating Process Context Data:

Drag and drop a Data Object artifact from the pallette into the process

/wp-content/uploads/2013/09/1_288553.jpg

8.  Creating an Automated Activity:

/wp-content/uploads/2013/09/1_288553.jpg

  Created Process with Automated Activity and Data Object:

/wp-content/uploads/2013/09/1_288553.jpg

9. Creating XML Schema Definition(XSD):

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

10. Set the cardinality (Multiplicity) of the attributes in the comlex type:

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

Created XML Schema should look like this:

/wp-content/uploads/2013/09/1_288553.jpg                      /wp-content/uploads/2013/09/1_288553.jpg

11.  Assigning Created Complex Type to Data Object (Data Object Properties):

Select the created XSD element from the drop-down list:

/wp-content/uploads/2013/09/1_288553.jpg

12.  Importing Web-Service into BPM Project:

/wp-content/uploads/2013/09/1_288553.jpg

13. Select the source of the WSDL file/service:

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

14.  Successful Import:

/wp-content/uploads/2013/09/1_288553.jpg

15.  Assign the imported WSDL to the Automated Activity in the Process:

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

16.  Sending an Email Notification(Through Notification Activity):

/wp-content/uploads/2013/09/1_288553.jpg

17.  Defining recipients of Email:

/wp-content/uploads/2013/09/1_288553.jpg

18. There are 2 ways to define a recipient:

i) Choosing Users from UME:

/wp-content/uploads/2013/09/1_288553.jpg

OR

ii) Writing an Expression to get user at runtime:

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

19.  Defining Email Subject and Content:

/wp-content/uploads/2013/09/1_288553.jpg

20.  Using Process Context Data in Email Subject/Content:

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

21.  Creating task for a User (Human Activity):

/wp-content/uploads/2013/09/1_288553.jpg

22.  Create Task for User:

Go to properties of the Human Activity and create a new Task

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

23. Importing the WDJ UI for the Created Task (Task Properties):

Click on choose and follow the steps:

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

After selecting the UI technology, you will be able to see the UI in the search pane (should be present in the workspace):

/wp-content/uploads/2013/09/1_288553.jpg

24. Select the completion event and boundary event(only if required):

/wp-content/uploads/2013/09/1_288553.jpg

25.  Creating a web-service for the Start-Trigger:

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

26. As the start trigger WSDl should typically be an Asynchronous one, click on the ‘Output’ tag and hit ‘Delete’:

/wp-content/uploads/2013/09/1_288553.jpg

Now, click on the Arrow on the right and enter the created XSD elements as input parameters of the start event (Also delete the Output tag from the XML source):

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

27.  Create a Trigger for the Start Event:

/wp-content/uploads/2013/09/1_288553.jpg

/wp-content/uploads/2013/09/1_288553.jpg

28.  Assign the Created WSDL to the Start-Trigger:

/wp-content/uploads/2013/09/1_288553.jpg

  Successful Assignment:

/wp-content/uploads/2013/09/1_288553.jpg

29.  Assign the created trigger to the Start Event(Properties):

/wp-content/uploads/2013/09/1_288553.jpg

Successful Assignment:

/wp-content/uploads/2013/09/1_288553.jpg

30.  Data Mapping:

Start Event to Process Context:

/wp-content/uploads/2013/09/1_288553.jpg

Process Context to Web-Service Method :

/wp-content/uploads/2013/09/1_288553.jpg

Passing Output of Web-service execution to Process Context:

/wp-content/uploads/2013/09/1_288553.jpg

These steps complete the BPM development. Now build the project to see any errors and deploy the process. Its ready to Use!

Hope this article helps. Please provide inputs if I have mentioned anything wrong.

Thanks.

Best Regards,

Siddhant

Assigned Tags

      20 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi,

      This is a very informative document  !!!

      Good guide of 30 steps to start off BPM learning.

      Author's profile photo Former Member
      Former Member

      Very helpful for a beginner!

      Thanks for sharing.

      Author's profile photo Former Member
      Former Member

      Helpful Document

      Author's profile photo Shreyas Pandya
      Shreyas Pandya

      Excellent blog Siddhant,

      Very detailed and nicely explained.

      Regards,

      Shreyas Pandya

      Author's profile photo Siddhant Bhatankar
      Siddhant Bhatankar
      Blog Post Author

      Thanks a lot Shreyas. Will try to keep up. 🙂

      Author's profile photo Former Member
      Former Member

      Hi Siddhant,

      Awesome doc.

      Can you please send the wsdl file(TripExpense.wsdl) to my email id - sanjay.rajpoot@gmail.com

      Thanks for your help.

      Author's profile photo Former Member
      Former Member

      Hi Siddhant,

      Nice Blog! Could you please provide a detailed document on the above scenarios.

      Mail id: rakeshsingh20189@gmail.com.

      Thanks in Advance!

      Rakesh Singh

      Author's profile photo Siddhant Bhatankar
      Siddhant Bhatankar
      Blog Post Author

      Hi Rakesh,

      What exactly is your requirement? I have tried to capture as much details as I could in this doc.

      Let me know.

      Regards,

      Sid.

      Author's profile photo Former Member
      Former Member

      Hi Siddhant,

      Your Doc is really useful and helping. Just it would have been more helpful if i could have detailed navigation to al the screens that u mentioned, as i am totally new to BPM.

      Thanks,

      Rakesh

      Author's profile photo Siddhant Bhatankar
      Siddhant Bhatankar
      Blog Post Author

      Just follow  the steps and you will be fine. Have included all possible screens. 🙂

      Author's profile photo Former Member
      Former Member

      Hi, Siddhant

      Thanks for the blog. On step 12, where do you find the wsdl file and how do you generate it?

      Regards

      Jonathan.

      Author's profile photo Former Member
      Former Member

      Hi Siddhant, Can you please send the wsdl file(TripExpense.wsdl) to my email id csc_raj@yahoo.com?

      Author's profile photo Former Member
      Former Member

      Hi Raj,

      Can you please send the wsdl file(TripExpense.wsdl) to my email id - sanjay.rajpoot@gmail.com

      Author's profile photo Former Member
      Former Member

      Thank you for dokument. this help me for the creation of new process.

      Author's profile photo Siddhant Bhatankar
      Siddhant Bhatankar
      Blog Post Author

      Glad I could be of some help. 🙂

      Author's profile photo Former Member
      Former Member

      Hi Siddhant, its very Helpfull A Favor please!!! Can you please send the wsdl file(TripExpense.wsdl) to my email id rperez73@terra.com.mx?

      best Regards

      Author's profile photo Mithileshwar Sahu
      Mithileshwar Sahu

      Dear Siddhant,

      Your blog looks very informative to me, can you please send me also the TripExpense.wsdl file..?

      My mail ID - mdsahu.iet@gmail.com

      Thanks,

      M.D.Sahu

      Author's profile photo Former Member
      Former Member

      Dear Siddhant,

      Your article is very good, can you please send me also the TripExpense.wsdl file..?

      My mail ID - sanjaysk16@gmail.com

      Thanks,

      Mr. Sanjay Kadam

      Author's profile photo Former Member
      Former Member

      Hi Prasad,

      Could you please share the TripExpense.WSDL

      my email-id  - sanjay.rajpoot@gmail.com

      Author's profile photo Jixin Wang
      Jixin Wang

      could you share the wsdl as an attachment in the blog, thank you!