I am a beginner in flowable. I am trying to create an email task where the email address of the recipient “to” would be dynamically defined, selecting a “user name” within the IDM in a user task.
To be more clear:
-In my user task, I put in a variable “employee” a user name from the IDM
-In my email task, in the “to” I put something like {$employee.email} to obtain the email related to the user name stored in “employee”.
Do you think it is possible to do something like that ?
is evaluated to email (e.g. “joe.doe@test.com”) only when employee is a structure which contains email property. That’s why you have store a user into variable (I would not recommend it) or provide a service which will obtain email for given userId in the expression.