cancel
Showing results for 
Search instead for 
Did you mean: 

workflow is not triggering

Former Member
0 Kudos

Hello Expert,

I am facing some strange problem.My workflow is not triggering.When i cheeked from SWEL (EVENT TRACE)

first i am getting this message.

Receiver FM SWW_WI_CREATE_VIA_EVENT

RFC Destination WORKFLOW_LOCAL_100

Main Program SAPMSSY1

Action Receiver started correctly

after 20 sec later one message is showing that

Receiver FM SWW_WI_CREATE_VIA_EVENT_IBF

RFC Destination

Message Workflow definition of task 'WS91000062' cannot be activated

Main Program SAPMSSY1

Action Feedback after error.

after that workflow event linkage has been deactivated.

I activated the workflow event linkage once more, same problem is happening.

please help me out how to solve this problem and trigger the workflow properly.

thanks

rajib.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186746
Active Contributor
0 Kudos

Hi,

It is quite clear, something is not good with the event-->workflow binding. First check the binding in the event from pftc and use the check function.

if this is correct, then something is wrong with populating the event containers, maybe you're using an incorrect format or something like that.

Kind regards, Rob Dielemans

Former Member
0 Kudos

hello all,

same workflow is working in dev and production sever. its not working in quality.how can it be possible if binding is not rite event linkage is not rite.

Former Member
0 Kudos

Hi rajib,

Have you imported any Transport request's to QA?

This situation may happend in the real time.

Workflow is moved to production and its working fine. then for the changes in the same workflow, developer may create a new TR and move to QA.

At this time due to trasport, some errors may come and event linkage getting de-activated.

Try to compare the verision between QA and Prd. Also do a syntax check in workflow template, and if any container's or task are missed in QA, include it in new TR and import to QA.

Thanks,

Viji.

Eddie_Morris
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Did you check the status of the workflow template via SWDD? Does it show errors when you do a check with the Syntax Check button? You original pos mentioned a problem with the Activation of the workflow template itself. Did you check it?

The event linkage will be deactivated due to a binding problem e.g. you set up binding to a mandatory workflow container element but no data is passed...or you do not setup this binding at all. To step the deacivation please read KBA/Note 1509503. This will stop the deactivation but not the reason for the deactivation. For this please see my first comment.

Regards,

Eddie

former_member186746
Active Contributor
0 Kudos

can you open that workflow definition in pftc?

Or does it say something like can;t open workflow definition version blabla.

If that is the case then most likely something went corrupt during importation of the workflow template.

If this is the case search for a replicate9999 function module to fix this error. There's an OSS note about this subject if you need more info.

Kind regards, Rob Dielemans

Former Member
0 Kudos

Check table SWD_HEADER whether it has a active version. This happen when there is error in the workflow Template check syntax in QA.

Former Member
0 Kudos

Hello all,

Thank you very much for your helpful answer.I have checked and found that in QA version 20

and it is showing 2 errors.But in DEV version 19 which was created by me, has been activated it is not showing any error.Thats why workflow is not triggering in QA.In the QA Version 18 should be activated because i have checked from SWD_HEADER table here I have found somebody who has a access have changed the workflow version to 20 but not activated because in table active version is 18. Now my question is how can i get active and error free version 19 in QA from DEV as i don't have any access to change in QA?I have only access for change in DEV.Give me the proper guidance how can i avoid this type of conflict.in the PRD version 18 has been activated and working fine.

thanks

Rajib

Former Member
0 Kudos

Open your workflow using transaction SWDD and in version drop down box select your version and active.

former_member186746
Active Contributor
0 Kudos

quick fix is to open the mandant for changes in QA.

Every company should have a procedure in place to open the system for changes in rare cases.

The other possibility is to create a transport for the correct version in dev and import that in the qa system.

Kind regards, Rob Dielemans

Eddie_Morris
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rajib,

What errors are you getting in your workflow definition?

Is the issue due to a change you made in Dev e.g. added a new task or container element based in a new data element which does not exist in your QA system? If you create new tasks or new data structures you must transport them before you transport your workflow definitiion.

If it is a task or new object that is missing then simply transport these objects and then check your workflow again.

Regards,

Eddie

Former Member
0 Kudos

Hello Eddie,

I am getting one message that cointaner element "Zcounter" type CHAR8 not used. in the QA.same element

exists in DEV and PRD but not getting this message there.How can i check the details error beause i am getting below error message there when i am checking syntax error for version 20.

'The check produced '19' items of information '125' warnings '2' errors' .

for version 18 i am getting below message in QA

The check produced '19' items of information '125' warnings '0' errors' .

i am not able to activate version 18 in QA because i don't have change access there.

thanks

rajib

Eddie_Morris
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rajib,

What is the container element Zcounter based on? Is this in your QA system?

Is this the error or just a warning? What is the exact text of the error messages.

Regards,

Eddie

Former Member
0 Kudos

Hello Eddie,

I have transported first container element then task and then workflow .New version has been activated in QA

workflow is error free and active but the new problem is workflow is not triggering.event linkage is active and green.

from SWEL i cant see anything.

thanks

Rajib.

Former Member
0 Kudos

Hi,

Try SWU_OBUF and check it again.

Using transaction SWU0 trigger the event and check whether your workflow displayed in the list.

Thanks,

Viji.

Eddie_Morris
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rajib,

How is your event raised in the system? Is it via SAP standard code, custom code or configuration like change documents?

Regards,

Eddie

Former Member
0 Kudos

Thanks every body,

problem was solved. Workflow was not triggering due to change document problem.

Now it has been fixed and triggering successfully.

thanks

rajib

Answers (1)

Answers (1)

Eddie_Morris
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rajib,

Please check the workflow template via the Syntax Check in the workflow builder. Are there any errors?

Please also check the binding between the triggering event and the workflow to make sure all binding is correct and that all mandatory elements in the workflow container are filled.

It seems that WS91000062 cannot be activated correctly. I am not talking about the event linkage but the status of the workflow itself.

Regards,

Eddie