As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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.
You can add your own labels in Share form definition: alfresco-developer-series/share-config-custom.xml at 75fd25869e42370a1d2a28fcaa74521a135c0005 · jpotts/alfresco-develope…
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>
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,
Contcentric
@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