cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Window should close automatically

Former Member
0 Kudos

I have three different workflow for document info records for different purposes.I always start my workflow

from object service icons->Workflow->Start workflow.

From the list of list of three worklfows select the workflow and click on start of start with detail.SAP display messages in the status bar "Workflow Started" and Then close the Window.

My Requirement is to close the window automatically once I start the workflow.

Becasue sometime our business user does't pay attention to the message in status bar and they again click on the workflow. Means they are firing hte workflow more than once.

How Can I close the window automatically once I start the workflow.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You may create z-transactions to start your workflow ( Add it to the Area Menu for your ease ) and then add exit program statement at the end of the code once start of workflow is successful.

Cheers !!

Former Member
0 Kudos

I need standard solution , not custom solution.

former_member181875
Contributor
0 Kudos

Hi Amandeep,

Would it help if the first step of the workflow simply displays a confirmation popup stating that the workflow has started? This step should be assigned to the initiator (a standard workflow variable).

This popup message is displayed as soon as the workflow is started so the user won't want to start a second instance.

Best regards,

Alan

Former Member
0 Kudos

According to you the first step should be activity with popup code and the agent will be the Initiator. It will solve my problem, but the issue is , initiator has to execute that workitem from SAP Inbox.How can I make this task to execute automatically. Please do let me know.

former_member181875
Contributor
0 Kudos

> According to you the first step should be activity

> with popup code and the agent will be the Initiator.

> It will solve my problem, but the issue is ,

> initiator has to execute that workitem from SAP

> Inbox.How can I make this task to execute

> automatically. Please do let me know.

There is a flag in the workflow step (not task) 'advance with dialog' which you can set to enable the task to execute immediately instead of waiting for the user to go to the inbox first. Actually the default is 'on' so you shouldn't need to do anything other than include a step.

Alan

Former Member
0 Kudos

If 'Advance with dialog' is checked, the system will execute workitem immidiately only if it has previously assigned Agent.For the First step in workflow, this flag will not work because I dont have previously assigned Agent.

Former Member
0 Kudos

Any body knows about this problem ?