cancel
Showing results for 
Search instead for 
Did you mean: 

UserTask id='' allowed chars

luisalves00
Champ in-the-making
Champ in-the-making
hello,

Not sure if its a good idea, but I'll use the userTask id as the outcome (On a JSF app) to forward the user to the right form…

but got a case that 2 task got the same outcome…and was wondering with char can I use as a separator:

Example:
UserTask id="authorization_request_card_programming:1"

outcome="authorization_request_card_programming"

best regards
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
No colons are allowed in the id of the elements (xsd qname). Why not just use underscore, dash or just suffix it with a number without separator?

luisalves00
Champ in-the-making
Champ in-the-making
the dash works fine.

I need a separator because the way I modeled the workflow…got 2 tasks that does the same but on 2 distinct paths…so as an JSF outcome I want they both to have the same…

may the right way is to use a subprocess but I want to keep it simple (for now)