Can Workflow be generated for background batch jobs that have finished successfully or that have errored? That...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
is, with the message sent to a particular organizational unit?
Yes you can. You would need to code the triggering of the Workflow for the batch job. This is a bit dangerous though because if your program errors unexpectedly (ie. Short dumps unexpectedly) terminates you may not get to raise your event (trigger your Workflow). What I would do is write a periodic report (lets call it the batch job monitor). It would run every hour (or whatever period you like). It would read the job log and find all the jobs that that succeeded or errored. Then it would kick off a Workflow for each report as appropriate.
You would need to configure your Workflow to send to particular Org Unit. This is fairly straightforward.
Dig Deeper on SAP workflow development
Related Q&A from Alon Raskin
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users.continue reading
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients.continue reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.