on 2025 May 06 7:58 AM
Hello all,
I am struggling with a problem in FSM Business Rules:
for the equipment we have an additional UDF "EQ_ITOB_INVNR" for customer´s equipment description. This UDF is not always filled.
I want to assign UDF "EQ_ITOB_INVNR" to a variable "equiBez" only if it´s not null, otherwise I want to assign the value of "equipment.code" to that variable (which should be later used in HMTL email text)
I tried with Java expression:
equiBez = ${equipment.udf.EQ_ITOB_INVNR} ?? ${equipment.code}
Unfortunately it did not work, the operators '??' don´t seem to be interpreted, they are just displayed as text:
Can anybody tell me what´s wrong there?
Thanks in advance for your help,
Kind regards
André
Request clarification before answering.
Hi André
For the variables section, Javascript goes inside the curly braces. The outside is CoreSQL.
Have you tried
equiBez = ${equipment.udf.EQ_ITOB_INVNR ?? equipment.code}
Best regards
Raphael Barabas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.