IT Process Automation

PAM::.  How to make a decision on what to do - Process Operator Ports and Links -  IF / AND / OR - Process Example 

Feb 01, 2017 07:05 AM

HowItWorks.jpgCA PAM - Using IF's

 

I have posted many examples here in the community, but of course CA Technologies has several documentation and I do not intend to recreate anything, so I just try to add examples or details that I can not find therefore i hope you could to found the CA Examples.

 

 

Assign Exit Conditions to Outcomes

You can define an exit condition for each outcome of the operator. An operator can have multiple exit conditions for different outcomes, such as Completed or Failed. Operators support specific exit conditions. Some operators also allow you to define a custom port. For example, you can define a custom port that only runs if the operator result is True, False, "blue", 500, -2, or some other designated value. Define a custom port when you have a distinct course of action in mind for a particular exit condition. One such condition is when a database import fails for a particular reason. When a process runs and you encounter a situation with no specific exit condition, the process is suspended and switches into a blocked state, pending user action. An administrator or other user with sufficient permissions can change parameter settings if necessary and can restart a suspended process either where it failed or from the beginning.

PAM Content Designer Guide

 

Process Operator Ports and Links

Links between operators define dependencies. The links act on the results that each operator produces. Links define the order and logic of a process as it flows.

Different kinds of actions have different predefined results or outcomes:

  • Successful
  • Completed
  • Aborted
  • Failed
  • Timed out

The application calculates these outcomes to determine the next exit conditions, ports, and links to activate, in a logical sequence. For example, you can add a custom port on some operators and can define the port to activate when an expression returns a True value.

Exit conditions on an operator are not mutually exclusive. If the product evaluates more than one exit condition as True, all of exit conditions are processed. Processing multiple exit conditions on a single operator can start subsequent simultaneous processing of multiple branches.

When a process runs, the product activates its operators only once. When a link leads to a previously activated operator, the product does not reprocess the destination operator and the branch that the link extends ends.

Note: Links are joined to operators at small connection points called ports.

 

Item:

Description:

Selected Operator: Click an operator to view its dataset variables, pages, and properties. Right-click an operator to add an exit port.

Content Designer Guide Release 04.2.00 

 

 

 

CA Examples:

 

And ...

 

We already have examples of    AND / OR

 

 

So that in this specific example there is a variation which I did not observe in these CA examples.

 

In this case I put only a few operators who believe it best to explain their operation, therefore, how to do?

 

 

 

ImageDescription
01. On Operators windows, get the "Run Javascript", drag and drop to Process
02. Using the right button, Choose the option "Custom Result"

03. Type

Name

Expression

Description

 

and select your icon

04. Using only as an example, a variable was included in this simple code to force the output.

 

OR Also you can use coding with javascript operator, here a simple sample of code:

 

 

if  (Process.AlarmTitle != "BLADE STATUS UNKNOWN SYMPTOMS"){
  Process.symptom="904";
}
else
{Process.symptom="905"}

CA PAM::. Using Run JavaScript Operator to split a string 

CA PAM::. Using Run JavaScript Operator to Convert a String to Integer 

 

 

 

 

 

know_more.png

Summary CA Process Automation 

 

Summary CA Service Management Community 

Service Desk Manager 15 days Implementation 

CABI:: Summary - BOXI for CA SDM 

Summary CA SDM Scoreboard 

 

 

 

Was useful, please leave your feedback!

Statistics
0 Favorited
7 Views
1 Files
0 Shares
1 Downloads
Attachment(s)
zip file
IF.xml.zip   5 KB   1 version
Uploaded - May 29, 2019

Related Entries and Links

No Related Resource entered.