How to RETRY/SKIP a workflow from backend

By | April 7, 2017 | 707 views | Category: Workflows Tags: , ,

Script to RETRY workflow

BEGIN
wf_engine.handleerror
		(
			itemtype  => 'OEOL',
			itemkey   => 2705276,
			activity  => 'SHIP_LINE',
			command   => 'RETRY',
			RESULT    => NULL
		);
END;
/
COMMIT;

Script to SKIP workflow

BEGIN
wf_engine.handleerror
		(
			itemtype  => 'OEOL',
			itemkey   => 2705276,
			activity  => 'SHIP_LINE',
			command   => 'SKIP',
			RESULT    => NULL
		);
END;
/
COMMIT;
WOW! Did you like this post? We'll send more interesting posts like How to RETRY/SKIP a workflow from backend to you!
Enter your Email Address: