cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with workflow step sequence at runtime

Former Member
0 Likes
521

Hi All,

I've a very strange case where step 3 is triggered before step 2. Details are as below.

Step Sequence                                                                                              Status                             Completed On

Step 1. Calculate deadline date - Date calculated as 18/03/2014                  Completed                        15/03/2014               

Step 2. Dummy step with requested start                                                       Waiting

Step 3. Send mail notification                                                                          Completed                       16/03/2014

This step sequence go in loop for 3 times before proceeding to processing Obsolete and all the three times I get the same issue.

Has anyone faced something similar or can throw some light on this issue?

Thanks,

Raj

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Likes

Are you absolutely sure that the work item actually is still waiting is not completed? See the WI status from table SWW*HEAD. (Just to make sure that the workflow log is showing the WI status correctly.) It doesn't make sense to have step 3 completed when 2 is still not completed (IF the steps are sequential and not somehow parallel).

As a general question, do you really need the dummy step for waiting? Couldn't you just wait in the actual mail sending step (use requested start or whatever that suits to your requirement)?

Regards,

Karri

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Raj,

Perhaps there is a problem with the calculation of your deadline? Or there is another event or some other mechanism triggering the Send Dunning Notification step? Have you checked the step history of both the dummy step and the send dunning step to see whether the deadline is calculated correctly, and whether or not it has been triggered? And also whether something else is triggering the send dunning step?  It's certainly possible for some steps to be in waiting status while others are completed or active - that would all depend on your design.

I would agree with Karri however that the design could be streamlined by using a normal activity step with your send mail TS tasks so that you can set the requested start deadline directly on the mail step itself.

Hope that helps

Regards,

Jocelyn

Former Member
0 Likes

Hello,

Maybe I'm missing something here but I don't see in your screenshot that step 3 (send mail) is triggered before step 2 (dummy wait step).

I think it would all make more sense if you looked at the chronological log.

regards

Rick Bakker

ronen_weisz
Active Contributor
0 Likes

can you attach the workflow builder screen? and the step history from the log of the still active workitems.

P.S

If this is only for sending mails, consider using a program to send them, workflow doesn't have any advantage in this case.