Unable to define user in a Workflow Definition by identifier other than user-id
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- When writing a Workflow Definition, I want to specify a user to receive a Workflow notification by an identifier such as
screen-name or email-address. However, when I attempt to define the user by these identifiers, I see that the code is automatically removed, for example:
Intended
<recipients receptionType="to">
<user>
<screen-name>test</screen-name>
</user>
</recipients>
Actual
<recipients receptionType="to">
<assignees/>
</recipients>
Resolution
- This is an unintended behavior of Liferay and have been reported and addressed in tickets LPS-113477 and LPS-119896. LPS-113477 is released in DXP 7.1 Fix Pack 18 and DXP 7.2 Fix Pack 6. LPS-119896 is released in DXP 7.2 Fix Pack 9.
- Open a Help Center ticket requesting a hotfix with fixes LPS-113477 and LPS-119896.
Did this article resolve your issue ?