Hi Mates,
sharing below script to autofill custom fields based on specific role defined, this does throw any error but when i am filling the specific field other custom fields does get auto fill.
kindly suggest
Hi @Manoj ,
please specify type of your custom fields. Method getValue return different objects depending of cf types.
Take a look here for more information about getValue https://docs.adaptavist.com/sr4js/latest/features/behaviours/api-quick-reference
Moreover, also setFormValue is impacted by types.
Fabio
@Fabio Racobaldo _Herzum_ hi, custom fileds are text type has list of options which contains types of job roles.
I have done this automate role pickers in custom fields by breaking the script.
Earlier I was trying to achieve by writing one line. For example if I select Say role Developer-BE (in custom field - Specific role) then it would update Standarized role, next level catergory and broader category.
And that did not work.
Now what I did, if Specific role is Developer-BE then it would update standardized role
And if Standardized role is MS/BI developer then it woud update next level category and similarly so on.
And it worked and updating roles in other custom fields if specific role is updates.
Do you other way to do this?
To be precise.
If I fill custom field 1 then based on inputs in custom field 1, custom field 2 , custom field 3 will pick up their values.
Thnks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.