Tuesday 27 January 2015

Setting Incompatibility at Parameter level (Standard Feature)


We may have came across a situation where we need to set the incompatibility of program with ITSELF but based on a certain Parameter value.

e.g. if TWO requests are submitted for same parameters then they should not be running together.

Below is the process we need to follow to set the incompatibility at the Parameter level.
Note: This is a standard feature.

Step 1: Go to incompatibility form, Set the incompatibility of the program with itself 
Scope = Program
Type = Domain



Step 2: Go to the “Concurrent Program Parameters” form and set “Conflict Domain” field to your Desired value on which you want the incompatibility to be working.

e.g. Below program takes Delivery ID as incompatibility domain. If we submit two separate programs for Delivery No. XYZ, then the 2 concurrent programs will run in sequence, not in parallel.



Step 3: Bounce the concurrent manager

Limitation: You can only choose One parameter as conflict domain.

Test Results: Duplicate requests are submitted for Delivery No. 1022012 and 1000014










One of the each request starts running (the other request with the same Delivery ID is in Pending Status)










The other request (Duplicate request) will only start running after the first request is completed.



1 comment: