11-01-2013 3:49 PM
Hello,
When we went live with SLCM in 2006, we created workflow for 7 different scenarios for our admission departments. We recently needed to create an 8th scenario and have seen the following problems:
We used the 7th scenario to copy some of the settings to the 8th, but when we went live...we are seeing copies of all the other scenarios go into scenario 7. Our 8th scenario was also going into the 7th. We change anything with any of the other scenarios.
We also have a successful and unsuccessful inbox for each scenario for suspends. (grouped by task) We are now seeing successful notifications get moved into the unsuccessful inbox for each scenario and don't know why.
We don't do workflow very much and the last time was in 2006...so we aren't sure what we are missing or what to try.
Anyone have ideas?
Thanks.
Mike
02-05-2014 2:18 PM
One of our programmers figured it out. Please see below...
The
CMED workflow was executing every time any of our other workflows
executed. All of the workflows are triggered by event XMLCREATED in our
business object Z_BUS7051. Each workflow is also controlled by a start
condition where the scenario must match the workflows scenario. They will
only start if the XMLCREATED event occurs and their start condition is
met. The start condition for the CMED workflow was not active and
therefore was triggered whenever the XMLCREATED event occurred.
The
CMED condition was set up correctly, active , and bound. It did not work
until I went to Event Linkage ->Workflow Start Conditions and
activated the event for CMED.
02-05-2014 5:49 AM
Hi Michael,
Please check the mapping of the workfow entries in the following tables:
SWFDEVENA
SWWWIHEAD
Probably the new workflow ID maps to a different class in SWFDEVENA. For more information, you can debug the function module HRIQ_RFC_WF_HEADERINFO_READ while running your application.
Regards,
Shalini.
02-05-2014 2:18 PM
One of our programmers figured it out. Please see below...
The
CMED workflow was executing every time any of our other workflows
executed. All of the workflows are triggered by event XMLCREATED in our
business object Z_BUS7051. Each workflow is also controlled by a start
condition where the scenario must match the workflows scenario. They will
only start if the XMLCREATED event occurs and their start condition is
met. The start condition for the CMED workflow was not active and
therefore was triggered whenever the XMLCREATED event occurred.
The
CMED condition was set up correctly, active , and bound. It did not work
until I went to Event Linkage ->Workflow Start Conditions and
activated the event for CMED.