cancel
Showing results for 
Search instead for 
Did you mean: 

Create new workflow.

irene08
Champ in-the-making
Champ in-the-making
Hi! Good Day!

"I will create a new workflow whether the task was approved or rejected is going to add an aspect to all the files attached to the workflow. Let's call the aspect 'workflowOutcomeAspect' and allow it to have two values: 'approved' and 'rejected'." I just read this in a blog and I want to apply it.

Do you know where should I add this? In what file? Thanks.

<constraint name="wf:allowedOutcome" type="LIST">
        <parameter name="allowedValues">
                     <list>
                     <value></value>
                              <value>approved</value>
                              <value>rejected</value>
                     </list>
        </parameter>
</constraint>

<aspect name="wf:workflowOutcomeAspect">
        <title>Workflow Outcome</title>
               <properties>
                     <property name="wf:workflowOutcome">
                      <title>Workflow Outcome</title>
                      <type>d:text</type>
                      <mandatory>false</mandatory>
                      <default></default>
         <constraints>
               <constraint ref="wf:allowedOutcome" />
         </constraints>
                      </property>
             </properties>
</aspect>


Thank you,
Irene Smiley Happy
4 REPLIES 4

anujs86
Champ in-the-making
Champ in-the-making
In your content model file.

irene08
Champ in-the-making
Champ in-the-making
In your content model file.

Hi Anuj!

Do you know San Miguel Corporation Philippines? Have you been there?


Thank you,
Irene Smiley Happy

anujs86
Champ in-the-making
Champ in-the-making
Never

irene08
Champ in-the-making
Champ in-the-making
Hi!

Ok. Anyway, thank you for your time and answer.



Again, Thank you.

Irene