Hi,
This is my first time to customize an Activiti workflow. I built the workflow by reusing the tasks defined in workflowModel.xml, but want to change the task name displayed in share task page. How can I define them?
Thanks.
Solved! Go to Solution.
Hi Charles,
In Share you can control the name with a property named title of the content type that define your task in the workflow content model. This is a problem for you since you're are reusing the out-of-the-box tasks which have its properties predefined.
When is nevesary to do any customization , even a litle one, i think the best way to do it is to extend alfresco with a custom workflow model in which you would have full control.
You could define the correspondent localization files and set the custom labels. This labels can be defined with this format:
<model_prefix>_<model_name>.type.<model_prefix>_<type_name>.title=
Regards
The name displayed in Activiti Explorer comes from the 'name' attribute in the task definition.
e.g <userTask id="shipOrder" name="Ship Order">
You can also use the <documentation> element to add more detail.
Hello Charles,
Are you talking about APS or the Activiti engine embedded in ACS?
Regadrs
Hi Roberto,
I am using Alfresco Community, I think the Activiti engine is embedded in it.
Charles
I am using the Activiti embedded in Alfresco Community. The name defined in BPMN does not displayed in the task page. I did some study and found the message properties file in the SDK platform module controls the display. But I did find the documentation describes the format and usage.
Hi Charles,
In Share you can control the name with a property named title of the content type that define your task in the workflow content model. This is a problem for you since you're are reusing the out-of-the-box tasks which have its properties predefined.
When is nevesary to do any customization , even a litle one, i think the best way to do it is to extend alfresco with a custom workflow model in which you would have full control.
You could define the correspondent localization files and set the custom labels. This labels can be defined with this format:
<model_prefix>_<model_name>.type.<model_prefix>_<type_name>.title=
Regards
Thank you, it works.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.