AnsweredAssumed Answered

Create new workflow.

Question asked by irene08 on Oct 10, 2012
Latest reply on Oct 10, 2012 by irene08
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 :)

Outcomes