Hide a variable on catalog form but show it on approval email

Nisha15
Mega Sage
Mega Sage

I want to hide variable on the form completely it should not be visible on the form, but that variable should be there on the approval email. before condition: There were one UI policy written on the variable to show that on conditions and it was visible on email also. but now we completely want to hide it on catalog but want to show on approval email.

Thanks in advance.

Nisha

1 ACCEPTED SOLUTION

Nisha15
Mega Sage
Mega Sage

Thank you all for the quick responses, Actually the variable was empty that is why it was also not visible on the approval email. so while filling out the form please check if that particular variable is having some value on the field.

create UI Policy to hide variable by default it will show that variable on approval email if its not empty.

View solution in original post

4 REPLIES 4

Anand Kumar P
Giga Patron
Giga Patron

Hi @Nisha15 ,

 

You can create catalog ui policy to hide the variable in catalog item level.

In notification Message HTML field, you can add the variable using the ${variable_name} to show variable on approval email.

 

Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand

Danish Bhairag2
Tera Sage
Tera Sage

Hi @Nisha15 ,

 

If you are talking related to the catalog item form then u can just have 1 UI policy with checked only for Applies for Catalog Item, in that UI policy u can just hide the variable. So on form it will not appear but on approval it will.

 

Thanks,

Danish

sunwin93
Tera Contributor

Hi @Nisha15 ,

I hope you are doing good.

You can write ui policy without condition and add ui policy action and hide the variables for always.

Whenever you will write the email, you can add variables information with ${variable_name}  this code or you can select variables from right side bar.

Please mark helpful if you find so.

Thank you

Sanjeet

Nisha15
Mega Sage
Mega Sage

Thank you all for the quick responses, Actually the variable was empty that is why it was also not visible on the approval email. so while filling out the form please check if that particular variable is having some value on the field.

create UI Policy to hide variable by default it will show that variable on approval email if its not empty.