AnsweredAssumed Answered

show document properties in manage task screen

Question asked by suleyman on Oct 1, 2007
Hi,

I have an advanced workflow. I want to show some properties of the workflow document (bpm_package) on the task screen.
I have tried several things including mapping of variables without succes.

I have tried this:
   <task-node name="ControleerAanvraag">
        <task name="ovs:AanvraagControleren" swimlane="coordinator">
         <event type="task-create">
            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
               <script>
                  var tempvar = "somevalue";
               </script>
            </action>
          </event>
          <controller>
             <variable name="tempvar" access="read,write" mapped-name="ovs_tempDosNr"/>
          </controller>        
        </task>

I have also tried it like ovs_tempDosNr="somevalue";

ovs:tempDosNr is a text property for this specific task. I have added it in the task model and in the webclient config file. I get an empty input field.

This is very important for our project. We have to show the most important properties of the document on the task screen. And I have to show these properties like a label. I also haven't figured out how to do this.

Thanks in advance for your help.

Outcomes