AnsweredAssumed Answered

checking for null

Question asked by boneill on Jun 5, 2009
Latest reply on Jun 16, 2009 by sethatrothbury
Hi All,

I have what I consider to be a very simple workflow.  It has a task called validSignOff which allows a user to enter metadata for an Approvers name.   From there there is an Approve or Reject path.  If the user selects the approve path  a decision node checks if the metadate fields have been filled in.

<decision name="signoffreceived">
      <transition to="endreview">
         <condition>#{validwf_validapprover != 0}</condition>
      </transition>
      <transition to="validsignoff" name="incompletesignoff"></transition>
   </decision>


However, the code validwf_validid.length != 0 returns true even if I have not put any value into the matadata field via the task.  So how do I check if the user has entered a value ?
(note have also tried validwf_validapprover != null).

Regards

Brian

Outcomes