You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
== Get current process and current state of the card
208
208
The template can know the process and the state of the card by calling the _usercardTemplateGateway.getCurrentProcess()_ and _usercardTemplateGateway.getCurrentState()_ functions. These functions will return a string corresponding to the process id (or state id).
209
209
210
+
== Receiving emitter entity of the card
211
+
The template can receive the emitter entity of the card by implementing the _usercardTemplateGateway.setEntityUsedForSendingCard()_ function.
212
+
This function will be called by OperatorFabric after loading the template and every time the card emitter changes (if the user can choose from multiple entities).
213
+
214
+
An example of _usercardTemplateGateway.setEntityUsedForSendingCard()_ usage can be found in the file
It is possible to configure a template to automatically send a response when sending a user card expecting an answers from one of the entities of the emitting user.
0 commit comments