on 2010 Mar 25 3:55 AM
Hi experts,
I have added a send email step after invoice rejection in WS10000051. But email could not be sent and the workflow just gets stuck after the invoice rejection step. Funny thing is if the email is sent out, it happens only once and after that it gets stuck again when i triggered the workflow again.
Thank you.
Lester ,
Have you trying to send a mail to external email?
In the send mail step, In the recipient type what you have maintained?
Thanks,
Vijay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok. Where exactly the workflow getting strucked? After the Invoice rejection step means, that step is completed or not? If this step was completed, and workflow gets struck at the send mail step means,
Go to SBWP -> New message -> Enter Description & body.
In the Recipient tab, ENter your SAP user name & select recipient type as SAP logon name and send the mail.
Then check in SBWP whether its received that mail or not?
Thanks,
Vijay.
Hi,
I've tried and the email is sent when i create a new message in SBWP. The workflow gets stuck after the Invoice Reject step and it is completed. The remaining steps after the Invoice Reject is not run at all.. Even if the email notification step is not direcly after the Invoice Reject step, the workflow also gets stuck after the rejection step..
Thank you.
Edited by: Lester Su on Mar 25, 2010 2:55 PM
Hi,
The three step types are container operation, and used to populate the flags, Released_Flag1, Released_Flag2 and Released_Flag3.
By default there is no assignment. I think you should do the assignment. For that, double click the step type, Operation -> Expression-> press F4 and select, Released_Flag2 and save.
Likewise add the assignment for the remaining step types too. Hopefully it will work.
Thanks,
Vijay.
Lester,
Sending mail is not at all a problem. If the workflow is getting triggered and the values are populated correctly, then it will reach the send mail step and mail will send and the workflow will go with the remaining flow.
If the data's are not populated also the mail will send. It needs only a agent as a input and if nothing populated then the empty mail will send to the inbox. Its only for notification purpose.
If your workflow getting struk means, it has the problem. Go to SBWP -> Started workflows-> select your workflow -> Goto log.
Here you can see the data's hold by your workflow containers. Please check it.
Thanks.
Hi LS,
is the WF giving error after the mail is sent, if yes, then theres problem in the WF definition.
if there is no error in your WF graphical log, try to recreate (delete and create) the same SendMail step in your WF builder, also if this problem is faced by you in DEV, just run SWU_OBUF once and try to trigger WF again.
*Note, pls do not use SWU_OBUF in PRD.
Hope it helps.
Aditya
Hello,
Look in the technical view of the workflow log to see exactly where the workflow is stuck, and check for any error messages.
I assume it only gets stuck when the sending of the mail fails?
The workflow is always at one step or another, and there's always a reason why it's not continuing.
regards
Rick Bakker
Hanabi Technology
Hi,
I've checked the workflow log(details) and I am getting the following message for the step "Waiting for event Rejected of object type FIPP".
Error msg1: Temporary error in result processing of work item 000000391129
Error msg2: Return message from work item 000000391129 within a closed component
What do they mean? Could not drill down the error message further..
Thank you.
Hello,
Temporary errors are almost always locking problems, e.g someone is in the related transaction at that time. It would take some research to find out what and why.
So it did work - after the batch job ran the mail was sent? Subsequent temporary errors would be fixed by subsequent runs.
regards
Rick Bakker
Hanabi Technology
User | Count |
---|---|
65 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.