Agile (MOSC)

MOSC Banner

How to remove relationship rule through SDK?

edited Sep 9, 2017 5:41AM in Agile (MOSC) 2 commentsAnswered ✓

I have tried two ways to solve the problem like this:

the first one is:

row.setValue(ProgramConstants.ATT_RELATIONSHIPS_RULE, null);

the second one is:

Map map =new  HashMap();

map.put(ProgramConstants.ATT_RELATIONSHIPS_RULE_AFFECTEDOBJECT, null);

map.put(ProgramConstants.ATT_RELATIONSHIPS_RULE_AFFECTEDOBJECTSTATUS, null);

map.put(ProgramConstants.ATT_RELATIONSHIPS_RULE_CONTROLOBJECT, null);

map.put(ProgramConstants.ATT_RELATIONSHIPS_RULE_CONTROLOBJECTSTATUS, null);

row.setValue(ProgramConstants.ATT_RELATIONSHIPS_RULE, map);

but above two ways, they didn't work.

so now I using remove row, and adding back to clean this field.

Is there any function to remove rule through SDK?

Tagged:

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