iShare
The IntelliCorp Community Site
Background Job Review and Send Mail Workflow

This workflow was written for customers who want to be notified if any scheduled background jobs fail, but flexible enough for any background job search requirements. It works very similar to the SM37 transaction in SAP. You can request job statuses for any or all the same simple selection screen parameters as in the transaction. 

Job Name – Search by a specific job names or job name patterns. 

Background User – Search by the user id the job was run under. 

Job Status – Select jobs by the current status of the jobs. 

STATUS

DESCR

R

RUNNING

Y

READY

P

SCHEDULED

S

RELEASED

A

ABORTED

F

FINISHED

Z

ACTIVE

X

UNKNOWN

 Event – Search by events that were created to trigger the release of background jobs.

Job Start Date and Time – Search by start date and time.

 You can also change the condition, based on status, that controls whether an email is sent or not. Just change the parameter called “Job Statuses” 

STATUS

DESCR

EMAIL

R

RUNNING

Y

Y

READY

Y

P

SCHEDULED

Y

S

RELEASED

Y

A

ABORTED

Y

F

FINISHED

Y

Z

ACTIVE

N

X

UNKNOWN

Y

 Send Email – You will need to change the name of the email server in the Send Email properties. For more help on how to customize this action, right-click on the Send Email action in the workflow and select “Help on Send Email”

 HTML Report - is also created which can be used to distribute the list of jobs found based on your selection criteria. The workflow is currently configured to send the URL in the email.

The workflow can be downloaded at   ishare.intellicorp.com/.../212.aspx

 Please let us know if you find other useful and creative ways of using this workflow.


Posted 03-31-2009 5:05 PM by Tim Benton
Filed under:

Comments

Gaurav wrote re: Background Job Review and Send Mail Workflow
on 11-05-2009 12:43 PM

Hi Tim,

I guess this has been removed from the blog. I have similar requirement to work on.

Can you please help me out?

Thanks,

Gaurav Mittal

Tim Chang wrote re: Background Job Review and Send Mail Workflow
on 02-23-2010 10:06 PM

Chris, the 2nd link is still not valid.  Is this over in the media side?  I'll check also.

Chris Trueman wrote re: Background Job Review and Send Mail Workflow
on 02-24-2010 12:58 AM