cancel
Showing results for 
Search instead for 
Did you mean: 

Wait for condition step not triggered from other application.

Former Member
0 Kudos

Hi Gurus,

I have triggered an approval workflow. When the manager rejects, the employee has an option to restart or withdraw the workflow from other application.

I have triggered the workflow using ABAP classes and so no BOR object instance is available.

So here I used a wait for condition step to know which action, the user has taken.

Though I could change the value in the container variable using SAP_WAPI_READ_CONTAINER, the workflow is not continuing further.

As I dont have any key field, I couldn't use the wait for event type of wait step.

Kindly let me know if I need to maintain any key element or I have missing something.

Thanks,

Cay.

Edited by: caycay_wf on May 3, 2011 1:49 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gurus,

I have checked the workflowlog after sometime and actually found that the wait step is triggered but only after half an hour or so of changing the container value. (there is a commit statement after the fm call to change the workflow container values..the workitemid passed is the parent workitemid )

There are no settings in my workflow with 30 mins...

Is there any transaction to change these settings or do I need to add something extra.

Thanks,

Cay.

former_member186746
Active Contributor
0 Kudos

Hi,

check if you're using the event queue

got to tranaction SWEQADM.

And check if it is needed in your production system, if not simply deactivate it.

Kind regards, Rob Dielemans

former_member185167
Active Contributor
0 Kudos

Hello,

Check also the frequency of the workflow-related jobs in tx SM37.

regards

Rick Bakker

hanabi technology

Former Member
0 Kudos

Hi Rob,

Can you please let me know how I can deactivate event queue as I use the event linkages to trigger my workflow using ABAP classes and events.....I also could find any particular batch job for this event.

Thanks

Cay

Former Member
0 Kudos

Hi,

In the transaction SWEQADM, Go to the Tab Activation.

In this tab, there is a option called 'Switch on event Queue'. You can deactivate the event queue using this option.

Also in the next tab 'Background job' you can check the settings for the background job.

Thanks,

Viji.