Agile (MOSC)

MOSC Banner

No such property: ATT_AFFECTED_ITEMS_OLD_LIFECYCLE_PHASE for class: Set Affected Item Revision

edited Jun 24, 2014 8:02AM in Agile (MOSC) 2 commentsAnswered ✓

Hi Agile Community

I implemented a few more lines at a groovy called Set-Revision-on-Affected-Items or AddAISetRevPX.groovy.

It now should be able to set New Lifecycle Phase as Active if Old Lifecycle Phase is Null, or copy the value of Old Lifecycle Phase and paste on New Lifecycle Phase, as well.

I added the following statement:

if (ATT_AFFECTED_ITEMS_OLD_LIFECYCLE_PHASE=='')

                    {

                        row.setValue(ChangeConstants.ATT_AFFECTED_ITEMS_LIFECYCLE_PHASE,"Ativo");

                        row.setValue(ChangeConstants.ATT_AFFECTED_ITEMS_TEXT01," ");

                    }

                    else

                    {

                                  row.setValue(ChangeConstants.ATT_AFFECTED_ITEMS_LIFECYCLE_PHASE,ChangeConstants.ATT_AFFECTED_ITEMS_OLD_LIFECYCLE_PHASE);

                    }

It works fine if only one item is added to ECO Affected Items tab, I'm facing issues with more than one item and the Event Subscriber Monitor shows an error like:

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