Q
Problem solve Get help with specific problems with your technologies, process and projects.

Generating Workflows for finished background batch jobs

Can Workflow be generated for background batch jobs that have finished successfully or that have errored? That is, with the message sent to a particular organizational unit?

Can Workflow be generated for background batch jobs that have finished successfully or that have errored? That...

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.


This was last published in July 2002

Dig Deeper on SAP workflow development

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close