Hi,
Been reading the new docs about the process api specifically about backend calculation of fields.
I had a query, if the field being calculated is a related object (say for a case we set a type of case and wanted to auto assign a user based on the case type), do I return a field value of an Object ID (the user id) OR do i return the object/bean itself?
Regards
Mark
Hi @markbond,
Thank you for your feedback.
Relate fields are not yet supported in this logic, sorry. Mostly because they update 2 fields and not just one.
I’ll update the documentation to mention to that.
Just a quick thought, would it work if I added this Process to both of the individual fields rather than the displayed fields (returning the relevant data for them)?
Hi Mark,
The id
field, like account_id
is not on the detailviewdefs.php
, nor displayed on the view, so I don’t think you be able to configure it.
Well… you could try to add it on vardefs on each of the fields. I didn’t test it so I’m not sure it works.
Thanks, its good that its not a hard no, so it means its worth a try