can't see Form Fileds under the dropdown at user task

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 04:51 AM
I was having this issue with one of my complex project, so I created this simple project to test the functionality but I am getting same error over here as well.
Can some please advise?
- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 05:09 AM
Similar thing happened to me. I found out that the variables for FormFields are only populated when the form is created WITHIN the process, instead of going to the forms tab and creating one to share it…
Hopefully this makes sense for you?
PD: not entirely sure what you mean by selecting a Form Field for a user task… Do you mean in a form of a user task? Or any other user task property?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 05:32 AM
THanks for your reply.
Sorry what do you mean by "form is created WITHIN the process"?
Also, let me explain it more.
1. For the Start Process node, I have selected the appropriate form under 'Refererenced form'
2. I then have an exlusive gate way with two out put branches
3. At branch one (which goes to userTask1), I can configure the 'Flow Condition' on the basis of values entered by user in the Form. From this I mean, I can configure the 'Sequence flow condition' by selecting the 'Selet Variables' and then 'Form Field' tabs and then there I can select my Form Field from the drop down and then an operator like 'equals' and then the value. (doest this make sense? )
4. At branch two (which goes to userTask2), I can configure the 'Flow Condition' on the basis of values entered by user in the Form, and can do as explained in step 3 above.
5. In my 'userTask1', I have the appripirate form referenced under 'Referenced Form' property BUT when I click on 'Assignment' and then select 'Identity store' for Type, 'Assigned to single user' for Assignment, 'Form field' for Source and then under the 'Form field:' dropdown, I can't see any of the Fields for my Form.
Does the above make sense?
Thanks for your help.
p.s. Can you please send me thorugh links to some good tutorials for building Processes or documentation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 06:10 AM
So I have created a new process using the 'wizard' and as part of the process, I have created the Form from within the process. I am assuming this is what you mean by 'WITHIN the process'. Am I correct?
But unfortunatley, even this way, I can use the Form Fields to decide at the 'Chouce step' level but when I select 'Human Step', I can't see the Form Fileds under the 'Candidates' selection. 😞
Any suggestions please?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 08:05 AM
So actually what I am experiencing is; for the 'Flow Condition' I can configure Form field value BUT for user Task, it doesn't let me select a values from Form field to select an 'Assignment'.
Is this the expected bahaviour in Alfresco Activiti Designer or am I missing something here?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 10:36 AM


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 11:29 AM

I have a field called 'consultant' and I have both name of the field and display text set as 'cosnultant'. I am passing this value to my user Task where I am setting: Assignment >> Fixed values >> Candidate users = ${consultant} but i get the following error when trying to run the workflow.
11-Jul-2016 16:27:10.721 SEVERE [tomcat-http–44] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [appDispatcher] in context with path [/activiti-app] threw exception [Request processing failed; nested exception is org.activiti.engine.ActivitiException: Unknown property used in expression: ${consultant}] with root cause
org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'consultant'
at org.activiti.engine.impl.juel.AstIdentifier.eval(AstIdentifier.java:83)
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 09:25 AM
As far as I understood you are trying to assign a task to the user which was entered by user in a startForm… am I correct? And If so you need "people" form control in your startForm and you will be able to see that form field in the dropdown…

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 09:30 AM
Thanks for your reply.
Yes that's correct. I am trying to assign a task to the user which was entered by user in s startForm..
Can you elaborate what do you mean by adding '"people" form control in my startForm".? How would I do that?
Sorry I a new to Alfrescro Activiti so would be asking some simple questions

Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 09:34 AM
"People" is one of the form control like text, number, checkbox etc. in Form Editor…
