Hi All,
I would like to setup a simple workflow which would update a field if an other field is changed, with the new value.
We have an advanced pack version 2.3.10 and Espo version 5.6.14.
This is what I have tried so far:
1,
ifThenElse(mailerLiteCountry!=null, addressCountry=mailerLiteCountry);
ifThenElse(addressCountry!=null, mailerLiteCountry=addressCountry);
2,
ifThen(record\exists('Lead', 'addressCountry='), mailerLiteCountry=addressCountry);
ifThen(record\exists('Lead', 'mailerLiteCountry='), addressCountry=mailerLiteCountry);
Log: Espo.ERROR: Workflow[5d9b46ea0f0f94949]: Action failed [updateEntity] with cid [0], details: . [] []
3,
ifThen(entity\Attribute('mailerLiteCountry'), addressCountry = mailerLiteCountry)
I am not sure why it is not working, any help would be appreciated.
Regards,
Balazs
I would like to setup a simple workflow which would update a field if an other field is changed, with the new value.
We have an advanced pack version 2.3.10 and Espo version 5.6.14.
This is what I have tried so far:
1,
ifThenElse(mailerLiteCountry!=null, addressCountry=mailerLiteCountry);
ifThenElse(addressCountry!=null, mailerLiteCountry=addressCountry);
2,
ifThen(record\exists('Lead', 'addressCountry='), mailerLiteCountry=addressCountry);
ifThen(record\exists('Lead', 'mailerLiteCountry='), addressCountry=mailerLiteCountry);
Log: Espo.ERROR: Workflow[5d9b46ea0f0f94949]: Action failed [updateEntity] with cid [0], details: . [] []
3,
ifThen(entity\Attribute('mailerLiteCountry'), addressCountry = mailerLiteCountry)
I am not sure why it is not working, any help would be appreciated.
Regards,
Balazs
Comment