Hi,
I have two entities Reports & Failures that extend an Incidents Entity. From the Incidents Browse Screen, I have two create buttons - one that opens the Reports Edit Screen and the other the Failures Edit Screen and they will all be listed under Incidents Browser. If you select one of them to open,the Incidents Browser Edit Button opens the Incidents Edit Screen but all fields are uneditable. This works fine so far.
The Incidents Entity has a Status Enumeration with New, Viewed, Pending Assignment & Assigned as the options. When I create an Incident (either Report or Failure), they automatically get the New Status.
I would like to automatically change the status to Viewed if a user with the Supervisor Role opens the incident. Regardless of whether they’ll assign it or not. This way, they can always be notified of the incidences that they have opened and those that they haven’t. How can I achieve this?
I am only able to get the createdByTs on the system properties but I don’t know how I can get to the roles.
Regards,
Kenince