cancel
Showing results for 
Search instead for 
Did you mean: 

MDG rule based workflow - step after activation

former_member196830
Active Participant
0 Kudos

Hello,

I've configured a rule-based MDG workflow where I am able to easily go through the steps and approve the request. In my workflow, though, I have an extra dialog (human step) where users need to review the activated request and execute action "Complete". This concludes the workflow and takes it to 99. For this process the old USMD_ENTITY_VALUE2 UI is being used.

I can see the WorkItem being created and assigned to me, but there are two issues here:

1. The WorkItem shows up in the UWL and in the SAP GUI Inbox, but does not show up in the My Change Request application under CRs to be processed by me.

2. When I open the CR from the Inbox, the action I had assigned "Complete" does not show up and the status of the CR is Final Check Approved, while I set a custom status 57 - Activated for it.


In other words, the choice of Process Pattern 05 - Activation (do not bypass snapshot), does its job, but then does not redirect the workflow to what I configured and flags the CR as complete.

Here is a screenshot of the Single Value Decision table. Status 05 - Final Check Approved is not even in the picture:


Any suggestions on how to overcome that are welcome.


Thank you in advance,

Boris

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Boris

Does this mean that after step 40 (Finalize) it remains in staging area and after step 50 only it goes into active area?

0 Kudos

Yes. After step 50 if activation was successful, WF goes to step 40 and will be in staging area.

0 Kudos

Just procees pattern 05 give you a chance to activate your record. if you activation was successful you will get status 31, if not - 32 Activation failed or 33 Activation failed for Snapshot (for mdg 9.0). Sure, you can do some steps after activation, till you haven't finished your process by pattern 99 - Complete (Sub-)Workflow

bpawanchand
Active Contributor
0 Kudos

Hi

I can see the WorkItem being created and assigned to me, but there are two issues here:

1. The WorkItem shows up in the UWL and in the SAP GUI Inbox, but does not show up in the My Change Request application under CRs to be processed by me.

The reason would be by that time the CR is executing the Activation step which you have configured in the Non-user agent decision table. Process pattern 5. Hence it is not showing up

2. When I open the CR from the Inbox, the action I had assigned "Complete" does not show up and the status of the CR is Final Check Approved, while I set a custom status 57 - Activated for it.

AS I mentioned above the CR is already in the active area of MDG rather in staging. The actions will appear on the Application till the CR is in the Staging area.

In other words, the choice of Process Pattern 05 - Activation (do not bypass snapshot), does its job, but then does not redirect the workflow to what I configured and flags the CR as complete.

The workflow is working correctly as per my understanding, You just need to swap the activation step or process pattern 5 after the manual action of complete.

Thanks, Pavan

former_member196830
Active Participant
0 Kudos

Hello Pavan,

Thank you for answering...

Does that mean that if I use a Process Pattern different than 05, my activation would still occur? This is what I'm trying to achieve. I need to have the record active in ECC after I have it approved. The Completion step is only a follow up step of the workflow that users would have to do, after verifying that the record is created in ECC and doing some follow up steps in other places. I'm not sure that changing the process pattern to something else would still activate my record.

Regards,

Boris

bpawanchand
Active Contributor
0 Kudos

Hi,

Logically speaking, what is the need of a manual verification to confirm if the record is created or not successfully in ECC. This is the job of DRF which by default provides the status of the replication.

ALE Distribution model will have the acknowledgement message type ALEAUD which by default provides the status of replication.

So there should not be any more steps if CR is active however, I can see that you have maintained a step if the acitvation fails then this step is already choosing a actor.

make sure your activation step is the last step. No more manual confirmations

Thanks, Pavan