Skip to content
Snippets Groups Projects
Commit d2ce540c authored by Simon Leipold's avatar Simon Leipold
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1086526][Speichern nach Bearbeiten...

[Projekt: Entwicklung - Neon][TicketNr.: 1086526][Speichern nach Bearbeiten einer CUSTOM Rolle führt zu eingefrorenem Web-Client und Berechtigungsfehler im Log  ]
parent fc65226c
No related branches found
No related tags found
No related merge requests found
import("system.neon");
import("system.vars");
import("system.result");
result.string("CUSTOM_" + vars.get("$field.ROLENAME"));
\ No newline at end of file
var prefix = "CUSTOM_";
var uid = vars.get("$field.ROLENAME");
if (vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW)
uid = prefix + uid;
result.string(uid);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment