cancel
Showing results for 
Search instead for 
Did you mean: 

Setting calledElement of a CallActivity at runtime

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi guys,

Is it possible to set the calledElement of a CallActivity at runtime?
Should generally be possible, since the User's Guide is saying: "Note that the process definition of the subprocess is resolved at runtime".

Using an expression like ${processtobecalled} does not work, because the XML parser states that it is not a valid QName.

Any help would be very much appreciated…

Thanks,
Markus
5 REPLIES 5

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Using an expression like ${processtobecalled} does not work, because the XML parser states that it is not a valid QName.

This does indeed not work. It is on my todolist for 5.5 (maybe 5.4, but no guarantees)

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi Ronald,

Sounds good!

Is there a way to do it programatically? I tried to find my way through the API, which however is challenging…

Thanks,
Markus

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi Ronald,

Is it included in Activiti 5.4?
I guess not, since I didn't see it in the release notes…

Thanks,
Markus

mikepoole
Champ in-the-making
Champ in-the-making
Does anyone know if this has now been included/resolved?

I am getting the QName error (cvc-attribute.3) when setting the calledElement attribute of a Call Activity to ${processToCall}

Many thanks

Mike

mikepoole
Champ in-the-making
Champ in-the-making
Please ignore. I upgraded to activiti-engine-5.9.jar (after reading this - http://jira.codehaus.org/browse/ACT-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tab... )

Works fine now!

Thanks all