cancel
Showing results for 
Search instead for 
Did you mean: 

user can send multiple notifications using the send button

Former Member
0 Kudos

We have a web Dynpro application that allows a user to park a document, the way we have our application created is :

1. User will enter the data

2. Click on Save to Park the document and

3. hit the send button that will trigger the workflow that will send the document to the next approver.

Now the issue if a user saves a document and hit send multiple times the workflow is getting triggered everytime and the approver is getting multiple notifications in his inbox. I tried manipulating this in the web bypro by setting a flag ...but the issue is everytime user hits the send button the application intialized and the flag is inital... can you please help me with this,.

Thanks,

Rajat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Rajat,

How about this.

Creating a custom table with Key as Workflow ID, Document number. Rest fields include, date time and any other information. In your workflow, if custom, the first step should update the table with these details. Your Webdynpro code should read first from table, and if no entry exists, it can trigger the workflow event. If you don't want to do that, then reading from workflow container is one way but never recommended as it will take ages to look for one record.

Regards,

Santosh

Answers (0)