How To Retry or Skip Workflow Oracle E-Business Suite?

You can retry the workflow with the following script.

1
2
3
4
5
6
7
8
9
BEGIN
	wf_engine.handleerror (itemtype	 => 'POAPPRV',
			itemkey 	 => 27013,
			activity	 => 'APPROVE_PO_NEW',
			command 	 => 'RETRY',
			result		 => NULL);
	COMMIT;
END;
/

You can skip the workflow with the following script.

1
2
3
4
5
6
7
8
9
BEGIN
	wf_engine.handleerror (itemtype	 => 'POAPPRV',
			itemkey 	 => 27013,
			activity	 => 'APPROVE_PO_NEW',
			command 	 => 'SKIP',
			result		 => NULL);
	COMMIT;
END;
/