06/08/2023 12:40 PM - edited 06/08/2023 06:39 PM
Hi All,
We have UpdateAccount JSON for a REST connector - Can we call ( not through rules) UpdateAccount Task only if some account attribute is not null ?
Can we put condition like this inside UpdateAccount JSON ?
If(account.cp18='Abc')
Call { UpdateAccountJSON}
else { Do nothing }
any idea on this ?
06/09/2023 03:35 AM
Hello @IAM_99,
You can alternatively make a dummy call inside your JSON and only make the actual call if the attribute is set to the desired value. You can use if-else construct or ternary operators to achieve this.
Thanks,
Manu
06/21/2023 08:01 AM
Hi @manu , Can you share any reference or sample json if possible