Very often we get workflows to get failed for different reasons, there are many workflows but here I am considering the failed Requisition Approval workflow and steps to resubmit of the same.
Ex: Requisition Approval workflow(REQAPPRV) failed with error:
Error Name WFENG_NOTIFICATION_PERFORMER
Error Message XXXX: Activity 'REQAPPRV/XXXXX' has no performer.
>> Check, workflow status monitor to see the failed or error-ed activity and reason.
>> To view the workflow diagram
Go to the Purchasing Responsibility > Requisitions > Requisition Summary
>> Search with requisition number
>> 'Tools' > 'View Approval through Workflow'
>> check the failed activity, and view diagram or click on the 'error' it will show you the error details.
>> Note down the 'Item Key' of the failed workflow.
OR check the wf_notifications table to get the item key
select item_key
from wf_notifications
where subject like '%<Requisition Number>%'
Now Resubmission Process
Navigation
>> Either 'Workflow Administrator' responsibility > 'Status Monitor'
OR
'System Administrator' responsibility > Workflow > Administrator Workflow > 'Status Monitor'
1> Search the workflow with 'Type Internal Name' and 'Item Key', you got in the above step.
2> Select the workflow and click on 'Activity History'
3> Select the failed activity and click on 'Update Attributes'
>> Update the missing attributes, in this case update 'Preparer User name' and 'Preparer Display Name' with the output of the below query.
select b.full_name
from po_requisition_headers_all prha
,per_people_x ppx
where prha.segment1 = <Requisition_number>
and prha.preparer_id = ppx.person_id
>> 'Apply' the changes and go back to 'Monitor Activities History'
4> Select the error-ed Activity and click on 'Rewind'
> Accept the rewind confirmation
> Check the workflow status again.
5> It should do the job else check for errors and take appropriate actions accordingly.
Ex: Requisition Approval workflow(REQAPPRV) failed with error:
Error Name WFENG_NOTIFICATION_PERFORMER
Error Message XXXX: Activity 'REQAPPRV/XXXXX' has no performer.
>> Check, workflow status monitor to see the failed or error-ed activity and reason.
>> To view the workflow diagram
Go to the Purchasing Responsibility > Requisitions > Requisition Summary
>> Search with requisition number
>> 'Tools' > 'View Approval through Workflow'
>> check the failed activity, and view diagram or click on the 'error' it will show you the error details.
>> Note down the 'Item Key' of the failed workflow.
OR check the wf_notifications table to get the item key
select item_key
from wf_notifications
where subject like '%<Requisition Number>%'
Now Resubmission Process
Navigation
>> Either 'Workflow Administrator' responsibility > 'Status Monitor'
OR
'System Administrator' responsibility > Workflow > Administrator Workflow > 'Status Monitor'
1> Search the workflow with 'Type Internal Name' and 'Item Key', you got in the above step.
2> Select the workflow and click on 'Activity History'
3> Select the failed activity and click on 'Update Attributes'
>> Update the missing attributes, in this case update 'Preparer User name' and 'Preparer Display Name' with the output of the below query.
select b.full_name
from po_requisition_headers_all prha
,per_people_x ppx
where prha.segment1 = <Requisition_number>
and prha.preparer_id = ppx.person_id
>> 'Apply' the changes and go back to 'Monitor Activities History'
4> Select the error-ed Activity and click on 'Rewind'
> Accept the rewind confirmation
> Check the workflow status again.
5> It should do the job else check for errors and take appropriate actions accordingly.
May I just say what a relief to uncover a person that really knows what they're
ReplyDeletetalking about on the net. You actually understand how to
bring a problem to light and make it important.
More and more people must read this and understand
this side of the story. I was surprised that you aren't more popular since you certainly have the
gift.
Check out my webpage: box directory - ,
Dear Anonymous,
DeleteThanks for lovely comment(s?).
Hello Abhay,
ReplyDeleteI hope you can help. This error is from iExpense: Can you provide suggestion? Thanks
Failed Activity CC Direct Manager
Activity Type Notice
Error Name WFENG_NOTIFICATION_PERFORMER
Error Message 3120: Activity 'APEXP/176564' has no performer.
Error Stack Wf_Engine_Util.Notification_Send(APEXP, 1909673, 176564, APEXP:OIE_CC_DIR_MANAGER) Wf_Engine_Util.Notification(APEXP, 1909673, 176564, RUN)
Dear Anonymous,
ReplyDeleteMost likely this happens when attribute is not set correctly or the assigned user/role has been expired. Please check the user/role assigned, if it is expired please unexpire or set the valid user/role while resubmitting the workflow.
Abhay,
DeleteThank you for your suggestions. However, could you show us where do you check the user/role assigned to that approver?
Abhay,
ReplyDeleteThank you for your suggestion. I'm very new at this. Could you please let me know where to check the user/role assigned for this user. Again, Thank you, Brian