none
Workflow wont properly run

    Question

  • My if statements wont work for the second step the value returned is always approved it will never return rejected, does anyone have any idea why that would be?

    Step: Area Director
      If Current Item:Area Director is not empty value
       Collect Area Director Approval from Current Item:Area Director (Output to Variable: adApprovalId )
       If Association: Task List:Area Director Approval Status equals Approved
        Set Area Director Status to Director Approved
       Else
        Set Area Director Status to Director Rejected

      Step: Area VP
       If Current Item:Area Director Status equals Director Approved
        Collect Area VP Approval from Current Item:Area Vice President (Output to Variable: avpApprovalId )
        If Association: Task List:Area VP Approval Status equals Approved
         Set Area VP Status to AVP Approved
        Else
         Set Area VP Status to AVP Rejected

    Monday, August 25, 2014 3:39 PM

Answers

  • Hi,

    Based on your description, I need to verify the things below:

    1. How did you set the Area Director Approval Status column or Area VP Approval Status column in the Collect Data from a User steps?
    2. How did you set the condition c? Did you use the variable created from the Collect Data from a User step as the filter?

    I tested the condition in my environment and the workflow worked fine.

    I recommend to add Log to History list to log the value in Association: Task List:Area Director Approval Status in history list to see if the value is correct.

    Best regards.

    Thanks


    Victoria Xia
    TechNet Community Support

    Thursday, September 04, 2014 2:43 AM
    Moderator