Transferring data between actions (metadata not working)

Hi,

I have a lot of separate Apps and would like to separate the Actions into App specific Actions so that I don’t have a single very large Action with a lot of “If” statements for the app specific code .

I would like to set some metadata in the first Action, and then have following separate Actions read that metadata. Setting the metadata works fine in the first Action but the subsequent Actions can’t see the updated metadata. I assume this is because the subsequent Actions run before the metadata is available.

What are my options if I need to have available some data from a previous action ?

thanks

Hi everyone! :waving_hand:

Actions Transaction Metadata is now in EA. It lets you pass small key–value data between multiple post-login Actions during a single authentication transaction.

How it works: set with api.transaction.setMetadata([key], [value]), then read via event.transaction.metadata.key later in the same login flow.

NOTE: Transaction metadata is only available during the current authentication transaction and is not persisted beyond the completion of the authentication flow. This feature is only currently available on post-login Actions.

Thanks!
Dawid

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.