Hello Everyone
I work on Alfresco 5.2.6, SDK4 with Activiti.
When I start a workflow:
1 - Click on 1 to open a user form search.
2 - Write LEGRAND
3 - Click on search.
There are 2 users found. One user does not have email, I want to exclude him from the research
The form is defined in META-INF/share-config-custom.xml:
<alfresco-config> <!-- Wokflow --> <config evaluator="string-compare" condition="activiti$partagerEnLecture"> <forms> <form> <field-visibility> <show id="bpm:workflowDescription" /> <show id="girpelwf:collaborateurLecteur" /> <show id="packageItems" /> </field-visibility> <appearance> <set id="" appearance="title" label-id="workflow.set.general" /> <set id="personne" appearance="title" label="Personne assignée" /> <set id="items" appearance="title" label-id="workflow.set.items" /> <field id="bpm:workflowDescription" label-id="workflow.field.message"> <control template="/org/alfresco/components/form/controls/textarea.ftl"> <control-param name="style">width: 95%</control-param> </control> </field> <field id="girpelwf:collaborateurLecteur" set="personne" label-id="workflow.partagerEnLecture.collaborateurLecteur" /> <field id="packageItems" set="items"> <control template="partagerEnLecture/components/form/controls/packageitemsPELstartTask.ftl"> <control-param name="startLocation">/app:company_home/st:sites</control-param> </control> </field> </appearance> </form> </forms> </config>
The user form search is defined with : <set id="personne" appearance="title" label="Personne assignée" />
What to do to exclude user without email from the search ?
Thank's you
Best regards
Without Email , How you have created user?
You need to override webscript get all user where email is there.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.