AnsweredAssumed Answered

Workflow and wizard (grid) problem

Question asked by gigiooo on Dec 27, 2010
Latest reply on Jan 5, 2011 by gigiooo
Hi all,
I'm a beginner in alfresco community and 1 week ago start my adventure with alfresco. I need to developed workflow process of delegation for my company.
Right now i got working workflow process which create a delegation document (file) and using dialog and simple aspect, but to finished it i need to make a settling of delegation this is more complicated for me, because i need to make a grid (or table) and adding to this grid some rows for one of the workflow tasks settling delegation.
What i got in this project:
workflow process -> starting delegation ->acceptation of delegation -> settling delegation -> end of delegation workflow;
aspect:
<aspects>
   <aspect name="cm:delegtion">
          <title>Delegation</title>
          <properties>
             <property name="cm:delegtionFrom">
                <type>d:date</type>
             </property>
             <property name="cm:delegtionTo">
                <type>d:date</type>
             </property>     
             <property name="cm:delegtionTarget">
                <type>d:text</type>
             </property>
             <property name="cm:delegtionEntity">
                <type>d:text</type>
             </property>
             <property name="cm:delegtionPlace">
                <type>d:text</type>
             </property>
             <property name="cm:delegtionCar">
                <type>d:boolean</type>
             </property>
             <property name="cm:delegtionForeign">
                <type>d:boolean</type>
             </property>

<!– here is a part which need to be in grid (table) –>

             <property name="bss:delPlaceFrom">
                <type>d:text</type>
             </property>
             <property name="bss:delDateFrom">
                <type>d:date</type>
             </property>
             <property name="bss:delHourFrom">
                <type>d:text</type>
             </property>
             <property name="bss:delPlaceTo">
                <type>d:text</type>
             </property>
             <property name="bss:delDateTo">
                <type>d:date</type>
             </property>
             <property name="bss:delHourTo">
                <type>d:text</type>
             </property>
             <property name="bss:delTransport">
      <type>d:list</type>
             </property>
              <property name="bss:delCostTransp">
                <type>d:int</type>
             </property>
              <property name="bss:delTravellingAllowance">
                <type>d:int</type>
             </property>
              <property name="bss:delAccommodation">
                <type>d:int</type>
             </property>
              <property name="bss:delAccommodationR">
                <type>d:int</type>
             </property>
              <property name="bss:delOther">
                <type>d:int</type>
             </property>
              <property name="bss:delPayment">
                <type>d:boolean</type>
             </property>
           </properties>
   </aspect>
</aspects>

I don't have idea how to do this right now.I try to make a wizard for this but don't know:
1. How properly build a wizard, other then adhoc (which is described in books) 
2. How to connect the workflow to wizard.
3. How to create grid with adding rows
4. How to send these grid to delegation file as a part of aspect.

For more information about properties of the file i want to received from workflow of delegation.

[img]http://images35.fotosik.pl/324/db761d16b3654282m.jpg[/img]
[img]http://images38.fotosik.pl/482/1418de264d4be070m.jpg[/img]

Right now i got properties of the delegation file the same line like on image 1, which is wrong cause for some properties i need to have a grid(table - loot at first table in image 2)
I want make such thing like mix image 1and image 2, but a problem for me is how to make such a grid(table) to which i can add some rows as a part of file properties.
If someone have some ideas how to do this and can help me with this I will be grateful, because I'm stucked right now?

Thank you for help

Outcomes