Agile (MOSC)

MOSC Banner

Groovy Script to Cancel Change

edited Oct 27, 2017 11:53AM in Agile (MOSC) 4 commentsAnswered

Hi all,

I´m developing a Groovy Script to address the following requirement:

Based on an attribute value and after an acknowledgement, the workflow should go to Cancel (Dinied) instead of to go to Next Status.

Here goes the code and the error.

import com.agile.agileDSL.ScriptObj.IBaseScriptObj;

import com.agile.agileDSL.ScriptObj.AgileDSLException;

import com.agile.agileDSL.ScriptObj.ChangeStatusScriptObj

import com.agile.api.ChangeConstants;

import com.agile.api.CommonConstants;

import com.agile.api.IAdmin;

import com.agile.api.IAgileClass;

import com.agile.api.IAgileList;

import com.agile.api.IAgileSession;

// add other import statements here

void invokeScript(IBaseScriptObj obj, ChangeStatusScriptObj change) {

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center