on 04-12-2016 2:19 PM
Hi Techies,
In debug mode email notification generates properly with correct subject line and body, but while trying to create ----> approver---> send for revised --> then again requester (resubmit)--> approved (approver), after completion of this cycle, then email notification generates but subject line and some of the lines in body are missing.
Please help out with suggestion.
Again it is doing malfunctioning
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It has been resolved now, because in that particular method, set a wait statement of 6 minutes, now its working fine.
Thanks guys for sharing your views.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What kind of error do you get? Can you post screenshots of the good and bad e-mail messages?
How do you construct the text of the subject and body? Do you use text elements or just hard-coded text strings?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
Just before Mail step in WF, values might be missing.
I guess you might have created a custom WF and calling this WF in NON USER AGENT table in Rule Based WF for triggering mails.
Now try to create a dummy Task in your custom WF just before the send mail step and in this task call a custom class method.
Inside this class method, put an infinite loop DO. ENDDO. Since most of time MDG execution is done by WF-BATCH user, you cannot put breakpoint.
Now try to repeat same steps and simulate the scenario and go to SM50. There, program will be hanging up in an infinite loop. Try to debug again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
As I told, please put an infinite loop code, DO. ENDDO. statement in the method if_usmd_ssw_syst_method_caller~call_system_method or in dummy Task in your custom WF or in place where you are suspecting the values are not getting filled.
After that repeat your steps (CR creation and submission) and in parallel keep checking in transaction SM50. Your process will be running and will hang up. Select the process Go to -> Administration -> Program -> Debugging. to start debug and to have more insights on the issue.
Hi Kumar,
May be check the Binding tab in your Mail step, whether the required fields are mapped between Work Flow container and Mail Step properly.
Another question, whether two different Mail steps are used ?
One during normal submit and one for Resubmit or is it only one Mail step for both actions ?
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.