How to omit a job execution from running Application

Document ID:  TEC1384802
Last Modified Date:  07/12/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Workload Automation DE

Releases

  • CA Workload Automation DE:Release:11.3
  • CA Workload Automation DE:Release:11.3 SP1
  • CA Workload Automation DE:Release:11.3 SP2
  • CA Workload Automation DE:Release:11.3 SP3
  • CA Workload Automation DE:Release:12

Components

  • CA DSERIES WORKLOAD AUTOMATION HIGH AVAILABILITY:DSERHA
  • CA DSERIES WORKLOAD AUTOMATION:DSRIES
Summary:

A job execution should be omitted while the application running.

Instructions:

It is possible to accomplish by defining a variable in the Run Frequency job's field. 
Such variable would be assigned with either true or false in a javascript running at the event trigger time. 
The javascript would have a logic on the condition if the trigger time is when the job should be executed - then the variable is true, or not - then the variable is false. 
All jobs with the Run Frequency set to false will be omitted.

An example of the javascript:

genTime('RFQ','now'); 

APPL.run='true'; 

if ((RFQHH + RFQMN) != '0830') 
APPL.run='false'; 

with the APPL.run variable set in the job's Run Frequency field.

 

 

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required

connecting

We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{message.agentProfile.name}} will be helping you today.

    View Profile


  • Transfered to {{message.agentProfile.name}}

    {{message.agentProfile.name}} joined the conversation

    {{message.agentProfile.name}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1].agentProfile.name}} has ended.
    Thank you for your interest in CA.


    Rate Your Chat Experience.

    {{chat.statusMsg}}

agent is typing