{"id":17086,"date":"2022-01-31T01:23:28","date_gmt":"2022-01-31T00:23:28","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/"},"modified":"2022-01-31T01:23:28","modified_gmt":"2022-01-31T00:23:28","slug":"how-to-manage-job-log-in-on-do-action","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/","title":{"rendered":"How to trigger an action in On Do Action based of a text in the Job Log output"},"content":{"rendered":"<p>Normally we can trigger an On Do Action based on string found in the Job Output.<br \/>\nBut we would like to do the same for a Job log, that feature doesn\u2019t exist, but there is a way to make it working.<br \/>\nLet&#8217;s see how to proceed.<\/p>\n<h2>Introduction<\/h2>\n<p>\nFor example: as a use case:<br \/>\nSee the blog <a href=\"https:\/\/www.dbi-services.com\/blog\/how-to-automate-a-kill-of-some-executing-jobs-in-ajf-at-specific-date-time\/\" rel=\"noopener\" target=\"_blank\">How to automate a kill of one or several executing jobs in AJF at specific Date\/Time at once<\/a>, when the a running job is killed in purpose with the ctmkilljob utility, the job ends with a NOTOK State (red).<br \/>\nThe issue of that, if we manage a On-Do Action on NOTOK situations, those Actions will be triggered.<br \/>\nWe can avoid triggering those On-Do Actions for this specific context (job killed) by following the procedure below.<br \/>\nIn this example, we will re-use the same case which is to automate a Kill of a job from another job:<\/p>\n<p><h2>Preparation<\/h2>\n<h3>Define 2 jobs<\/h3>\n<ul style=\"list-style-type: circle\">\n<li><ins datetime=\"2022-01-23T23:36:39+00:00\">Ctmtst-Job-Killer<\/ins>: Job which runs ctmkilljob utility to end another job<\/li>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-command-7-e1643330922219.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-command-7-e1643330922219.jpg\" alt=\"\" width=\"600\" height=\"496\" class=\"alignnone size-full wp-image-54035\" \/><\/a><br \/>\nWith PARM1= Ctmtst-To-Kill<\/p>\n<li><ins datetime=\"2022-01-23T23:36:39+00:00\">Ctmtst-To-Kill<\/ins>: Job with short name to be killed but should end OK<br \/>\n=&gt; Its Output should contain the text in the script<\/li>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-command._to-killpng-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-command._to-killpng-1.png\" alt=\"\" width=\"558\" height=\"256\" class=\"alignnone size-full wp-image-54046\" \/><\/a><\/p>\n<\/ul>\n<li>After running the jobs, t1ctmtst-To-Kill ends NOTOK as expected, and might trigger an unwanted ON DO ACTION if a NO OK is monitored<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Jon_failed.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Jon_failed.png\" alt=\"\" width=\"201\" height=\"282\" class=\"alignnone size-full wp-image-54048\" \/><\/a><\/p>\n<p>See below Job log <\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [3,4,6]\">\n22:36:08 1\/23\/2022     STARTED AT 20220123223607 ON ctmsrv.domain.com      5101\n22:36:08 1\/23\/2022     JOB STATE CHANGED TO Executing  5120\n22:36:26 1\/23\/2022     JOB KILLED BY USER cmagt@ctmsrv.domain.com   5409\n22:36:27 1\/23\/2022     ENDED AT 20220123223627. OSCOMPSTAT 1. RUNCNT 1   5100\n22:36:27 1\/23\/2022     Message from Agent: \/opt\/cmagt\/ctm\/sysout\/Ctmtst_To_Kill.LOG_00iyte_00001   5169\n22:36:27 1\/23\/2022     ENDED NOTOK. NUMBER OF FAILURES SET TO 1     5134\n<\/pre>\n<p>As we wanted to kill the job in purpose, then we would like to trigger the Set To OK in On Do Action<br \/>\n<\/code>\n<\/li>\n<\/ol>\n<h2>Solution <\/h2>\n<ol>\n<li>Capture the Job log with the ctmlog command, the result will be append to the Job ouput<\/li>\n<ul style=\"list-style-type: circle\">\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-post-exec.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-post-exec.png\" alt=\"\" width=\"586\" height=\"98\" class=\"alignnone size-full wp-image-54063\" \/><\/a><\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [1]\">\nctmlog listord %%ORDERID %%DATE 0000 %%DATE 2359\n<\/pre>\n<p>The job output will contain its regular output and at the end also the job log as the result of ctmlog command<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [7]\">\n+ echo Start Job\nStart Job\n+ sleep 300\nDate: 23-01-2022.   Page: 1\nDate: 23-01-2022.   Page: 1\n\n    CTMLOG REPORT from 20220123 000000 to 20220123 235959\n\nOrderno : 0iyte (*884930)\n\n+-------------------------------------------------------------------------------------------------\n|Date|Time|Jobname              |Order|SS|MID |Message\n+-------------------------------------------------------------------------------------------------\n|0123|2236|Ctmtst-To-Kill_1     |0iyte|CS|5065|ORDERED JOB:31790; DAILY FORCED, ODATE 20220123\n|0123|2236|Ctmtst-To-Kill_1     |0iyte|SL|5105|SUBMITTED TO cmagt@ctmsrv.domain.com\n|0123|2236|Ctmtst-To-Kill_1     |0iyte|TR|5101|STARTED AT 20220123223607 ON cmagt@ctmsrv.domain.com\n|0123|2236|Ctmtst-To-Kill_1     |0iyte|TR|5120|JOB STATE CHANGED TO Executing \n|0123|2236|Ctmtst-To-Kill_1     |0iyte|UT|5409|JOB KILLED BY USER cmagt@ctmsrv.domain.com\n<\/pre>\n<\/ul>\n<li>Last step, is to define the On Do  Action Set to OK for this specific context (Job KILLED)<\/li>\n<ul style=\"list-style-type: circle\">\n<li> On Do Action definition <\/li>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-On-Do-Action.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-On-Do-Action.png\" alt=\"\" width=\"488\" height=\"274\" class=\"alignnone size-full wp-image-54066\" \/><\/a><\/p>\n<li>The Job will end OK and the log will contain<\/li>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-to-Kill._Log_OK.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-to-Kill._Log_OK.png\" alt=\"\" width=\"602\" height=\"236\" class=\"alignnone size-full wp-image-54068\" \/><\/a><\/p>\n<li> final state<\/li>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-to-Kill._OK.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-to-Kill._OK.png\" alt=\"\" width=\"212\" height=\"274\" class=\"alignnone size-full wp-image-54069\" \/><\/a><\/p>\n<\/ul>\n<p><H2>Enjoy \ud83d\ude42<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Normally we can trigger an On Do Action based on string found in the Job Output. But we would like to do the same for a Job log, that feature doesn\u2019t exist, but there is a way to make it working. Let&#8217;s see how to proceed. Introduction For example: as a use case: See the&hellip;&nbsp;<\/p>\n","protected":false},"author":26,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[1256],"tags":[890,1334],"class_list":["post-17086","post","type-post","status-publish","format-standard","category-control-m","tag-log","tag-output"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to trigger an action in On Do Action based of a text in the Job Log output - dbi services Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to trigger an action in On Do Action based of a text in the Job Log output\" \/>\n<meta property=\"og:description\" content=\"Normally we can trigger an On Do Action based on string found in the Job Output. But we would like to do the same for a Job log, that feature doesn\u2019t exist, but there is a way to make it working. Let&#8217;s see how to proceed. Introduction For example: as a use case: See the&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-31T00:23:28+00:00\" \/>\n<meta name=\"author\" content=\"Microsoft Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Microsoft Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/\"},\"author\":{\"name\":\"Microsoft Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/857c83b2f1d7d3e7c113ed40edf63294\"},\"headline\":\"How to trigger an action in On Do Action based of a text in the Job Log output\",\"datePublished\":\"2022-01-31T00:23:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/\"},\"wordCount\":338,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Job-command-7-e1643330922219.jpg\",\"keywords\":[\"log\",\"output\"],\"articleSection\":[\"Control-M\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/\",\"name\":\"How to trigger an action in On Do Action based of a text in the Job Log output - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Job-command-7-e1643330922219.jpg\",\"datePublished\":\"2022-01-31T00:23:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Job-command-7-e1643330922219.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Job-command-7-e1643330922219.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/how-to-manage-job-log-in-on-do-action\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to trigger an action in On Do Action based of a text in the Job Log output\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/857c83b2f1d7d3e7c113ed40edf63294\",\"name\":\"Microsoft Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/microsoft-square.png\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/microsoft-square.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/microsoft-square.png\",\"caption\":\"Microsoft Team\"},\"description\":\"Posts published under the Microsoft Team account are collective contributions by the dbi services Microsoft consultants. The practice covers SQL Server across its lifecycle, from installation, migration, and security to high availability with Always On and performance tuning, together with Azure data services and the Microsoft Business Intelligence stack, including Power BI. The team holds Microsoft certifications up to Expert level and operates customer platforms under service level agreements.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/microsoft-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to trigger an action in On Do Action based of a text in the Job Log output - dbi services Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/","og_locale":"en_US","og_type":"article","og_title":"How to trigger an action in On Do Action based of a text in the Job Log output","og_description":"Normally we can trigger an On Do Action based on string found in the Job Output. But we would like to do the same for a Job log, that feature doesn\u2019t exist, but there is a way to make it working. Let&#8217;s see how to proceed. Introduction For example: as a use case: See the&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2022-01-31T00:23:28+00:00","author":"Microsoft Team","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Microsoft Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/"},"author":{"name":"Microsoft Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/857c83b2f1d7d3e7c113ed40edf63294"},"headline":"How to trigger an action in On Do Action based of a text in the Job Log output","datePublished":"2022-01-31T00:23:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/"},"wordCount":338,"commentCount":1,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-command-7-e1643330922219.jpg","keywords":["log","output"],"articleSection":["Control-M"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/","url":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/","name":"How to trigger an action in On Do Action based of a text in the Job Log output - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-command-7-e1643330922219.jpg","datePublished":"2022-01-31T00:23:28+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-command-7-e1643330922219.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/01\/Job-command-7-e1643330922219.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-manage-job-log-in-on-do-action\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to trigger an action in On Do Action based of a text in the Job Log output"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/857c83b2f1d7d3e7c113ed40edf63294","name":"Microsoft Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/microsoft-square.png","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/microsoft-square.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/microsoft-square.png","caption":"Microsoft Team"},"description":"Posts published under the Microsoft Team account are collective contributions by the dbi services Microsoft consultants. The practice covers SQL Server across its lifecycle, from installation, migration, and security to high availability with Always On and performance tuning, together with Azure data services and the Microsoft Business Intelligence stack, including Power BI. The team holds Microsoft certifications up to Expert level and operates customer platforms under service level agreements.","url":"https:\/\/www.dbi-services.com\/blog\/author\/microsoft-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/17086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=17086"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/17086\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=17086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=17086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=17086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}