12-18-2018 03:59 AM
How could I set the message properties of the allowed values in a bpm activitiOutcomeTask?
e.g. at the alfresco-developer-series/scWorkflowModel.xml at master · jpotts/alfresco-developer-series · GitHub
the 'Approve' and 'Reject' common allowed values are been displayed in English.
Thank you in advance.
12-19-2018 01:11 PM
You can add your own labels in Share form definition: alfresco-developer-series/share-config-custom.xml at 75fd25869e42370a1d2a28fcaa74521a135c0005 · jpot...
Just include something like this:
<control template="/org/alfresco/components/form/controls/selectone.ftl">
<control-param name="options">
ToBeReviewed|Revisar,NoReviewRequired|No Revisar
</control-param>
</control>
12-20-2018 12:03 AM
You can do like this
<constraints>
<constraint type="LIST">
<parameter name="allowedValues">
<list>
<value>Approve|{label.finalApprove}</value>
<value>Reject|Final Reject</value>
</list>
</parameter>
</constraint>
</constraints>
You can specify value direct as well use label which is defined in properties file.
Thanks,
12-20-2018 11:04 AM
@jpotts suggested the:
listconstraint.scwf_approveRejectOutcome.Approve=Translated Approve
listconstraint.scwf_approveRejectOutcome.Reject=Translated Reject
and it works. Thanks again for the replies.
https://github.com/jpotts/alfresco-developer-series/issues/28
Explore our Alfresco products with the links below. Use labels to filter content by product module.