Need to change user language on the fly for batch-type microflows

0
We are generating documents (PDF/Word), that need to be generated in different languages. In other words, a user's language running the "batch" is english, but he might have to generate a french documents too in the same batch. The values on the document are using Enumerations, so these values need translation in the correct language on the fly. Is there a non invasive way of achieving this?
asked
2 answers
0

Herman,

In the community function lib there is a function to run a microflow as another user (executeMicroflowAsUser). Maybe you can create users with the desired language settings and use these to run the microflow creating the documents in different languages and triggers this by the user that is creating the documents.

answered
0

Herman, what is the trigger for generating a document in a certain language?

I've did this based on language documents, and document template configurations which where attached to a entity for generating documents based on a language trigger. In my case the trigger was a language set in the ERP system.

answered