Hello,
I'm trying to extend the delivered "Add Address" action to call a flow that will validate the entered postal address against third-party service. I have created an action configuration to extend the existing AddressAdd action. Ideally, I want to validate and correct the address on the entrance rule. However, I seem to be unable to figure out how to make an update as the EmployeeAddress key is 0 and I don't see any request. Has anyone attempted to do something like that?
Everything works fine on the exit rule since everything is committed and I simply need to update the existing record.
Here is the entrance rule I'm using
initiate DPC_AddressValidationEntrance process
Variables
action request id
variable name is ActionRequest
HROrganization
Employee
EmployeeAddress <----This is 0 when the flow runs
PostalAddress.DisplayAddressCommaSeparated
variable name is Address
PostalAddress.Municipality
variable name is City
PostalAddress.PostalCode
variable name is Zip
PostalAddress.StateProvince
variable name is State
PostalAddress.County