I am new to Dynamics 365 F&O. Currently I am working on a requirement that I have a lookup of users. I want to assign workflow to the user which I select from the lookup.
I need your help with how can I achieve this thing using X++.
I would suggest a workaround. A document will be submitted to the workflow. Then the workflow message processing batch job will take care of user assignments. Don't try to change this basic behavior. What you can do is store the user in the document that needs to be approved. With a custom workflow participant provider, you can then add x++ logic to find the user that got saved in the document. The workflow configuration and processing job can work with customer participant providers.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.