Exclude user without email from a form search

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2020 05:08 AM
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
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2020 12:35 AM
Without Email , How you have created user?
You need to override webscript get all user where email is there.
