Using script based attribute customization in RTC
What is the syntax for this scenario
IF RestrictedAccess field is "A-Department1"
THEN
set Customer field value = "A" and Department field value = "Department1"
Or the following
IF Customer field value = "A" and Department field value = "Department1"
THEN
RestrictedAccess field drop down options are narrowed down to ...
2 answers
For the first scenario, you will need to set "RestrictedAccess" as the dependency of both "Customer" and "Department", add a "Calculated Value" script to both "Customer" and "Department". In the script, you will read the value of "RestrictedAccess", and if it satisfies certain condition, set the value of "Customer" or "Department" accordingly.
The second scenario is similar, you just swap the position of "RestrictedAccess" and ["Customer" and "Department"]. And you may need to use a "Value Sets" script instead as you talked about a "drop down".
Comments
Do this workshop. Especially Lab 5: Process Enactment Workshop for the Rational solution for Collaborative Lifecycle Management
Comments
Donald Nong
May 08 '15, 12:06 a.m.Uma venkata Lekkala
May 08 '15, 1:31 a.m.