cillion

Set a calculation field by a script

Discussion created by cillion on Sep 1, 2016
Latest reply on Sep 1, 2016 by user19752

Hi!

I have an STATUS field that is a calculation of the coursetime/date, so if the course is in the past the status will be UNACTIV, but is it in the future it would be ACTIV.

Now I need a new status that is not calculatet, but sat by a script, this script is going to set the status to CANCELLED, but my script returns an error:

How could I keep the calculation as it is and also accept a status set by the script? This is my calculation STATUS field:

Outcomes