Problems to upload information to the form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2013 08:35 AM
Hi guys, I have two question:
1) I have an entity called Report and this Report can be related to one or more Missions existing in the database(another entity). On Report Creation Form, we want to create a list where the user can select more than one Mission related.
But I don't know which widget we can use there. We must apply some query in that Mission list. I know how create a list of "vocabulary", but we don't know how create a list for an entity, and how apply a query in this entity. Could someone help me?
2) I have a Workflow for Report and this workflow has 2 Tasks (nodes). The Task1 was forwarded to User1. This task has a field called "COMMENTS". I've set this value into a Workflow variable called "responsible_comments". User1 fills this field, responds to User2 and this Task is finished. The Task2 is started and I want to retrieve the last value of the "responsible_comments" into a Task2 form. I've built the Task2 Form using the Workflow variable "responsible_comments", but this value is empty. How can I show this value into Task2 Form?
Follow the picture below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2013 10:04 AM
Hi,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2013 03:14 PM
Hello,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2013 05:50 AM
Hi,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2013 07:36 AM
Hi,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2013 09:22 AM
In the first node, in Column 1, you have "Responsible comment", which looks like suspect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2013 10:24 AM
I made the changes, and still appears empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2013 10:37 AM
Sorry, I've no more idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2013 06:05 AM
Hi,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2013 07:30 AM
1) What you're looking for is probably the "singleDocumentSuggestion" widget since Missions seem to be documents rather than static info from a vocabulary.
To make sure you can only choose mission documents, you'll have to set the "Document page provider name" to a custom "page provider". Those can only be contributed in XML right now (Advanced settings in Studio), here is some sample code:
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">
<coreQueryPageProvider name="missionsProvider">
<pattern>
SELECT * FROM Mission WHERE ecm:currentLifeCycleState != 'deleted'
</pattern>
</coreQueryPageProvider>
</extension>
(more pageprovider examples at: http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20Platform-5.8/viewExtensionPoint/org.nuxeo....
2) Why don't you assign the same workflow variable "responsible_comments" to both tasks? Unless I misunderstood something you used a node/task variable for Task1 while you could directly use "responsible_comments". Unless you overwrite "responsible_comments" between tasks, there's no reason its value could disappear.
