SPD Workflow executing twice on Wait for field change

I have a workflow where I have a Wait for field change action. Once the field is changed it sends an email. But it also goes back through the whole workflow again. So it sends 2 emails. How do I correct?
The workflow is set to run on item created and item changed.

I'm not sure wait for field change will work. This action requires you to wait until it equals a specific value, rather than just for the field to change. So if you want approve or deny, this won't work because you can only wait for it to be approved or
wait for it to be denied, not both. Basically, just as you say.
I would just have stages ("Awaiting Department 1", "Awaiting Department 2", etc) that is a hidden choice field set by the workflow. Choice fields then for each department for their approval. Conditions on the workflow fire based on the Awaiting Department
field.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

Similar Messages

  • Workflow - Wait for field change

    Hi All,
    I am just starting to experiment with sharepoint 2013 (in office365) workflows and am running into an issue.
    What I am trying to create is a sort of approval workflow in which multiple people need to approve the item. I created a column for each department that needs to approve the item and the default value for the column is 'awaiting approval'.
    So the first department gets an email that they need to approve or deny the item. I want the workflow to wait for the value 'awaiting approval' gets changed and if it changes to deny stop the workflow, else go to the next department.
    The problem is that 'wait for field change' does not seem to do the trick. I can tell it to wait for the field to change to approved, but if it is denied it won't go further to the denied state.
    I guess there is a trick for this but I can't find it. Any ideas?
    Thanks in advance,
    Eddy

    I'm not sure wait for field change will work. This action requires you to wait until it equals a specific value, rather than just for the field to change. So if you want approve or deny, this won't work because you can only wait for it to be approved or
    wait for it to be denied, not both. Basically, just as you say.
    I would just have stages ("Awaiting Department 1", "Awaiting Department 2", etc) that is a hidden choice field set by the workflow. Choice fields then for each department for their approval. Conditions on the workflow fire based on the Awaiting Department
    field.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Change "to equal" to "to be greater than" in Wait for Field to equal Value"

    In Sharepoint Designer 2010, in the workflow Action "Wait for Field to equal Value", I could change the "to equal" to "to be greater than". I can't find how to do this in SPD 2013.
    Can someone please help?
    Thank you!

    Hi
    PieterVanHeerden, is a big problem that gives us the change Microsoft . An option to mitigate this problem could be to use an additional workflow that runs whenever the item is updated . Workflow evaluate the condition that you need and when it is Ok, updates
    the value of a field used as flag called eg " Control_Hora_Inicio_Completo " with " true " value.
    In your current workflow you should modify the condition for the WorkflowF stops until the Control_Hora_Inicio_Completo field equal to " True " when it meets the Workflow continue and you're sure you have entered a value , whatever that is .
    I hope you can try and you work.
    Greetings from Argentina .
    Maxi
    Msorli

  • In an approval workflow, how do I wait for either Approval or Reject to proceed?

    I have a field that will get set to Approved or reject in the form.  In the workflow I inserted the action "Wait for a field to change in current item".  The program is it reads:
    WAiT FOR "SOMEFIELD" TO EQUAL "VALUE"
    the value could be "Approved" or "Reject".  How can I set the wait till the value is changed to proceed to next action in the workflow?
    Thank you.

    Hi,
    According to your post, my understanding is that you wanted to create a workflow to wait for the filed changed and then proceed to next action.
    As Matt
    Milsark's Blog said,
    in the SharePoint Designer 2013, the value of the action has to be equal to.
    However, we cannot use parallel blocks to wait for the item to change.
    When the column’s value of the List is “Approved” at the first and not changed, the workflow also will start and perform the next action.
    The reason is that if we create an item which set the column value to “Approved”, the workflow will proceed to the Approved Step without any changes and then wait for the filed changed to Rejected.
    As a workaround, we can use the “Stage” and the “Wait for Filed Change in Current Item” action.
    You can follow the steps as below to implement it.
     Create a Custom List > Create a Column with the type of “choose” > Set the Column’s value is “Approved” or “Rejected.
       Open the SharePoint Designer 2013 > Create a Workflow for this List > Add some conditions and actions
    as below:
       3. Click “Save” to save the workflow.
       4. Go to the “Navigation” and click the “Workflows” > Open the new workflow > Go to “Start Options” > Check “Start workflow automatically when an item is created”.
       5. Click “Publish” to publish the workflow.
    In addition, we can use the “Wait for Event in List Item” action to achieve what you want.  Please create workflow as below:
    Then if the “Approved” Column’s value of the current item is changed to “Approved”, the workflow will log “Approved Column changed to Approved”.
    If the “Approved” Column’s value of the current item is changed to “Reject”, the workflow will log “Approved Column changed to Rejected”.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • SPD Workflow 2010 how to update Lookup field to none

    Hi,
    I need to use SPD Workflow 2010 to update a Lookup field in different list to none. Can there be any possible approach to follow?
    Thanks,
    Kunal

    Hi Kunal,
    As I tested, you could use the action in workflow as below:
    listAtitle is a lookup column in my test, just manually input number zero in "To this value".
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Unable to evaluate workflow rule - Value too long for field

    Need help with a workflow error for a record update before the record is saved. There are 3 calculations that would be done in a particular order - all on number fields. Each time, I am overwriting existing values. The individual numbers could have up to 6 decimal spaces. When I try to update one or more fields that contain the calculation, I get an error message saying that the system is unable to evaluate the workflow rule - value too long for field (zNum6).
    This same calculation is fine when a new record is entered and the calculation is done as a default field value.
    Any ideas?

    I actually had to use a ToChar function at the beginning of the calculation and #### to indicate the number of digits to make this work. Oracle Help Desk provided the answer - quickly.

  • Wait for field to equal to value not working in Sharepoint desginer 2013

    Hi ,
    I have two Work flow
    WF1 & WF2
    In below image WF2 it will update a list column where WF1 work flow In Progress
    In WF1
    It wait for Other Task Parallel value equal to started.
    WF2 Update the list correctly but WF1 not work properly but
    when I update list Item then it works fine for WF1 .
    Please let me know if any thing wrong.
    Regards
    Sachin

    Hi cameron,
    We have two list as mention below
    Agent list -Attach WF1
    Task list-Attach WF2
    WF1 one wait for action change column value from WF2
    WF2 update a column value as show in fig above perfectly fine, where WF1 in waiting state to get the status.
    but status is already updated.
    When I have edit the same  item in which WF2 update its column value then my WF1 working fine for " wait for Other Task Parallel value equal to started" action in my Agent list.
    Regards
    Sachin

  • "Waiting for applying changes" staying forever when syncing, never ending. Cant finish syncing latest ITumes with IPhone 4S, last iOS.

    "Waiting for applying changes" staying forver when syncing, never ending. Cant finish syncing: latest ITumes with IPhone 4S, last iOS.

    "Waiting for applying changes" staying forver when syncing, never ending. Cant finish syncing: latest ITumes with IPhone 4S, last iOS.

  • IPhone sync stuck at Step 5 of 5 waiting for the changes to be applied

    iPhone sync stuck at Step 5 of 5 waiting for the changes to be applied

    For me it was stuck. So with the iphone/pad etc plugged in I was having the failings at the last step.
    I got it to work by unticking "Sync this ****** over wifi" and onnly ticking"manually manage music and videos"
    Maybe it gets confussed and I thought I was managing it anyway.
    Anyway - that worked for me, literally did the ticks. Off it goes, now adding 1500+ tunes

  • SPD Workflow - Update a hidden/read only field

    Hi there,
    I have a list with a hidden/read only field (ie Status).  So the user cannot update this field using the form or datasheet ...etc.
    I have an SPD workflow that I was hoping would modify the value of the Status field.  But it appears as though the option to modify it is not available as long as it is hidden and/or read-only.  Aka, the field doesn't show up in the list of fields
    to modify for the "Set field on current item" action.
    I was hoping to avoid importing this into a visual studio project and adding in code, which I believe would do the trick; so are there any solutions that I can do within SPD itself?
    Thanks in advance.

    Hi Eirc,
                       as i understand you question  you want to update hidden filed from workflow ? 
     solution 1 when workflow started it change field read only to false and after completing workflow
    change it again true.  by code.
    Solution 2 Use javascript to make the field read only on presentation.
    http://sputility.codeplex.com/ check this lib that might help you to manage readonly field on runtime
    Solution 3 : you achieve by setting column level permission 

  • WORKFLOW PROCESS IS NOT WAITING FOR USER INPUT LIKE RE-ASSIGN FUNCTION

    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

    Hi Bala
    What enhancements were you adding to the Workflow Reassign/Delegate feature, which included being able to add comments? A good idea is to look for any differences between how workflow implements the reassign feature, and your customization.
    Also, make sure you only use the Public documented PL/SQL APIs and do not update the tables directly to ensure no Support or Upgrade Issues.
    Cheers
    Mark
    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

  • SPD Workflow will not start automatically for the first entry in a list on any given day (subsequent entries start just fine)

    Hi. I have various workflows on various lists that share a common issue. The first entry of the day on that list will not start the workflow automatically.   We have SharePoint 2013 Foundation. This same issue occurred when we had SharePoint 2010
    as well. Interestingly, I had read about a 'fix' by adding a 5 minute pause at the start of every workflow which worked fine for a while. Now I happened to find that this is no longer working (after I see a bunch of workflows that didn't fire over the past
    month - ugh!).
    I know I'm not the only one with this issue as I ran across others with the issue when I first researched it and found the 'pause fix' a year or so ago and I also talked with someone else during a SP seminar who used this same fix.  NOTE:  These
    are end users creating the items.  It is not logged as a system account.
    Any help would be appreciated.  I have a SharePoint developer I can hire if this is beyond my ability to fix.  I just need some guidance (last time I inquired they weren't aware of this issue). 

    Can you also advise if these are complicated workflows or high traffic lists?
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How long I need to wait for platform change from windows to mac?

    I filled form on web and I waiting one week and no one want to help me?

    The Cloud allows install on both Windows and Mac... what program and version do you have?

  • Function "Wait for value change"

    Hello, I want a sequence to wait until a boolean variable in another part of the block diagram becomes true. Is there a function that I can put in one of the frames of the sequence that does the job?
    Thanks a lot

    Would a semaphore work in your application?
    (Click on LabVIEW Help, and index the semaphore topic.) Grab the semaphore when you set the boolean to false, release it when you set it true.
    [email protected]

  • Correlations in Workflow - wait for Delete event problem

    Hi All,
    I am working on version ECC5.
    I have a workflow that needs to wait for any changes to i0008, i0007, i0509 and i2001 for the person who is the subject of the workflow.  I have used correlations to do this and it is all working fine except for the Delete event.
    For each infotype I wait for each event ie. Approved, Changed, Created, ApprovedCancelled and Delete.  When the events are published the wait event is triggered and the workflow goes to the next steps where it does a recalculation,  fires off a new workflow and ends the current one.  This is working for all of the events except Delete.  The Delete event is set up exactly the same as the rest, but somehow the workflow wait event is not triggered.  It is happening with the Delete event for all the Infotypes I am waiting for.
    Does anybody have any suggestions as to what may be the problem. 
    Thanks
    Sandra

    Arghadip/Martin thanks for your replies.
    Yes, the delete event is being published.  I am using the same object e.g BasicPay for the delete event that I am using for the other events - Approved, Created etc. that are working.   The correlation and the wait for event steps are set up exactly the same way as they are for the events that are working.  I find it curious that the delete event doesn't work for any of the infotypes.   Why?  Could it be that when a record is deleted the object no longer exists?
    Any suggestions?
    Thanks
    Sandra

Maybe you are looking for

  • .mov files in Premiere

    I am having no luck getting some HD .mov files to import into Adobe Premiere. Premiere tells me I am missing a codec. Is there a Windows version of the Apple Intermediate Codec? The footage was recorded with a JVC camera onto a Firestore DR-HD100 dri

  • USB consuming too much power -notice

    I get all the time notice/warning that: "USB-device is consuming too much power. Hub/concentrator which the device is connected will be shut down." During this writing I got the notice three times. I don't have anything connected to my Macbook Pro (b

  • Where/how can i find out what this is doing

    I know this old but not concerned with that, just what is it doing,  this is java script in an .asp that loads a flash application, I'm most concerned/interested why it references a clsid? what is the code base all about? (is this embedding code in t

  • CFMailParam with File in Database

    Hi, all.  I would like to use CFMail to send an attachment using CF8.  The attachment is a BLOB in Oracle.  I will know the file name and MIME type for the file.  How do I attach it?  I am unable to write to the file system so I can't do that first. 

  • SQL exception involving column index

    Hi. When I try to access a database with my servlet I get this exception: Caught SQL Exception: java.sql.SQLException: Column Index out of range ( 0 > 178). All my columns I use in my SQL statement seems fine. Any ideas?