Agile (MOSC)

MOSC Banner

SimpleDateFormat not availiable in a script PX?

edited Jun 19, 2014 12:25PM in Agile (MOSC) 2 commentsAnswered ✓

Hi All,

Trying to write a simple Script PX, As there is no entry criteria on a hold state we want to trigger an event and handle it by getting the value of a date attribute, if its empty or set in the past calculate a future date of now + 3 months, then write the attribute with this date value. Otherwise leave it unchanged.

Seems obj.getValueByAttId() is retuning a string type for the date attribute, so I want to convert it to a Date type so I can do the comparison to now and calculate the future date to set.

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