How to get Job Name from incident descption
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 08:04 AM
Hi All,
I am trying to get job name from incident description and past job name in other field.
below is description of incident (format is same always , only values will change)
//////////////////////////////////////
Scheduler host: plcmjob01.aaa-acg.net
Job name: MKT_W_Weekly-Household-Aggregate-Combine
Application name: MKT_Weekly_Household_Aggregate_And_Oibee
Group name: 2#
Status: FAILURE
Job run machine: pxsasrpt01
Job run identifier: 3419.9369764.1
Job start time: 10/01/2022 12:04:48
Job completion time: 10/01/2022 14:07:08
Exit code: 3
/////////////
please help me to get job name.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 08:42 AM
Hi @ack
You can write Before insert/Update Business rule with the Condition "Description contains Job name:" and try the below script. :
Screenshots:
O/P:
Please hit the like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.
Thanks & Regards
Jyoti Jadhav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 08:44 AM
Hi @ack,
Considering "Job Name:" to be fixed in your description and after that application name comes always in new line you can try with following piece of code