How to check insert or update in target table while using Robust Transformer

Ankit263
Tera Contributor

I am using Robust Transformer to map data from single source to multiple target table. There is a mandatory field state(install_status) on target table(cmdb_ci_computer). So requirements is on insert of new record set state to installed and do not make any changes with state while updating.

1 ACCEPTED SOLUTION

sourav3
Mega Guru

Hi Ankit,

Try to make the state[install_status] field mandatory using UI policy and make the field state[install_status] non-mandatory from dictionary using dictionary override.
OR
You can make use of this OOTB system properties[ glide.required.attribute.enabled] and set it to false to make it work. Before setting it to false check if it is impacting on a global level.
 Please refer this link for you reference:
 https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0723079

Thanks,
Sourav


View solution in original post

1 REPLY 1

sourav3
Mega Guru

Hi Ankit,

Try to make the state[install_status] field mandatory using UI policy and make the field state[install_status] non-mandatory from dictionary using dictionary override.
OR
You can make use of this OOTB system properties[ glide.required.attribute.enabled] and set it to false to make it work. Before setting it to false check if it is impacting on a global level.
 Please refer this link for you reference:
 https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0723079

Thanks,
Sourav