Sharepoint designer workflow: condition on multiple choice field

Hello,
basically I want a set of actions based on the selection of a user saved in a multiple choice field.
For instance, the column named "Choices" has the possible values:  Car, Bike, Bus, Plane 
So i want a condition to check for the values that were selected (in pseudocode)
IF Choices contains "Car" then ....
IF Choices contains "Bike" then ....
IF Choices contains "Bus" then ....
IF Choices contains "Plane" then ....
But in the designer when i tried to implement such a condition, im not able to write this structure.
I can select the column in the if clause but then i can only select "equals" and "not equals" instead of "contains"
Moreover, the when I choose the related string as value it is not saved.
How can I implement this (normally simple condition) in SharePoint designer?

Hi
use a calculated column, to set deppending on your chocie column with IF statement , next use that new calculated column in your next steps
http://msdn.microsoft.com/en-us/library/office/bb862071%28v=office.14%29.aspx
Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.
I cannot even reference a multiple choice field in a calculated column. A workflow to copy the vlaue does not help neiter:
Multiple Value Column                       Text Column
Auto,Roller,Motorrad,LKW   ->   
{"__metadata":{"type":"Collection(Edm.String)"},"results":["Auto","Roller","Motorrad","LKW"]}

Similar Messages

  • SharePoint Designer Workflow, condition: if value of date/time field is less then x days from today, do something

    Hello,
    A field in a list is called 'Date'  (it is a date/time type of field)
    Now I want a condition in a workflow that checks the 'date' field. If the date is less than X days from today it should (for example) send an email to a certain user.
    Is this kind of condition possible in a SharePoint Designer Workflow?
    Thanks in advance!

    Hi,
    As I understand, you want to create a workflow that can check data.
    The workflow can be:
    1. Add 0 months, 2 days, 0 hours, 0 minutes to Current Item:date1 (Output to Variable: date ) (2 days is the days you can set, and Current Item:data1 is the datefield you want to check from today)
    2. Add 0 months, 0 days, 0 hours, 0 minutes to Today (Output to Variable: date1 )
    3. Set time as 0 : 0 for Variable: date (Output to Variable: date2 )(get the Variable: date Date only )
    4. Set time as 0 : 0 for Variable: date1 (Output to Variable: date3 )( get the Variable: date1 Date only)
    5. If Variable: date2 equals Variable: date3
    6. Email these users
    https://onedrive.live.com/redir?resid=40B702A9FB117DD!136&authkey=!ABtMg5n3OtPakCg&v=3&ithint=photo%2cPNG
    More reference:
    http://stackoverflow.com/questions/1249366/start-sharepoint-workflow-x-days-before-expiry-date
    Best regards,
    Sara Fan

  • Bug? - SharePoint Designer workflow email to a person field - combines two emails to create an invalid email

    Hi there,
    In my SharePoint 2010 Custom List - I have a SharePoint Designer workflow that sends emails to a Person Type column called "Notify". However when I type several users here in NewForm.aspx in Notify field - two of the users do NOT get email. On
    checking logs it so turns out that email is being sent to: [email protected]; [email protected]@c.com; [email protected]; [email protected];
    Now the bold text above is an invalid email address (without the semi colon between two users) and user2 and user3 do NOT get any email.
    The way it is implemented in SharePoint Designer workflow is pretty straightforward - see Notify field below.
    Any help will be appreciated on how to fix this? This seems to be an SPD bug?
    Thanks.

    Hi,
    According to your post, my understanding is that you wanted to send email to a person field.
    I try to reproduce the issue, however, I can send email to five people correctly.
    I recommend to create workflow as below:
    Then when you open the email, you can find that it cc to five users.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • SharePoint Designer Workflow to email multiple recipients listed in a custom list

    Hi all,
    I created a workflow in designer attached to a form library. I also have a custom list "Admins" containing names of persons that serves a different purpose but would also like to be used as recipients for the workflow email everytime a new item in the
    form library is created.
    I have been searching the net and tried out few work arounds but so far able to send to only one person in the "Admins" list. The list has a column "Admin Name" which is of type "Person or Group".
    Thanks in advance!

    You will not be able to do this specific task with SharePoint Designer workflows.  Like you stated, it can only target a specific value, based on the value in anoter column.  The easiest work-around would be to create a SharePoint security group
    that contains the users, then target that group in the Send Email action.  Just make sure that the group is configured for membership to be visible by all users.  I know it is not ideal to manage information twice, but this is a limitation of SharePoint
    Designer.Chris Caravajal MCTS SharePoint911 Consulting & Support Services

  • How to send emails to Multiple Users from a Single People Picker lookup field using Sharepoint designer workflow

    Hi All,
    I am working with SharePoint 2013 designer workflow. we are using office 365.
    Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
    But SP designer sending emails to the first user alone.
    Please guide me to proceed.
    Advance Thanks.
    Regards
    Jenkins NS
    Thanks and Regards Jenkins

    finally I got a solution
     Identified a workaround to solve the issue using SharePoint designer.
    Step 1
    Create a lookup list Example department
    Columns
    Title (by default) – Single line of text
    Users – Person or Group
    Emails – Multiple lines of text
    hidden the Emails column (go to content type and set the column as hidden)
    Create a SharePoint designer Workflow
    Start Workflow automatically when an item is created
    Also Start Workflow automatically when an item is changed
    Workflow Stage 1
    Set Emails to current Item: Users
    The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
    Step 2
    Create a custom list to get the email ids and send email
    Create a lookup column ex: analysis and refer department list, Allow multiple values
    Then Create a SharePoint designer workflow
    full details workflow steps please follow below
    URL
    http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
    Thanks and Regards Jenkins

  • When building a vacation leave holiday system using SharePoint Foundation 2010 and SharePoint Designer workflows how can I add half day functionality?

    Hi,
    I have built a vacation leave holiday system for SharePoint Foundation 2010 using SharePoint Designer workflows and Javascript. Everything works perfectly but I'm struggling to design a solution for users to specify half day requests that span over dates
    greater than 1 day, i.e. my half day solution works but only when the start and end date are the same. How would I change the user interface to allow users to choose which day they want the half day to be requested when the vacation leave holiday request is
    from, say,  6th - 10th Jan 2014?
    Thanks.

    Hi ,
    I have a test on my machine with a custom approval workflow and it can work normally .Here are the detailed steps :
    1.      
    Open the site in SharePoint Designer .Create a workflow to associate with the document library .Set the workflow to start when an item is created and when an item is changed
    .Also allow the workflow to start manually .
    2.      
    Choose ‘Collect Data from a user’ .
    3.      
    Click on the data and give a name to the Task created .
    4.      
    Define the custom form field name as ‘Approve ?’ .Set the information type as Choice .
    5.      
    Set the choices as ‘Approve’ and ’Reject’ .Display as Checkboxes .Uncheck the ‘Allow fill-in values’ and ‘Allow blank values’
    .Click finish to save .
    6.      
    Click on users and add the users who will approve the documents .
    7.      
    Keep the output to variable as collect .
    8.      
    Add a new step .Choose ‘If any value equals value ’ .Set the any value ‘Data source’ as  workflow variables and parameters .Set the ‘Field
    from source’ as Variable: collect .
    9.      
    Set the value behind ‘equals ’ as ‘Approve’ .
    10.  
    Add a new action ‘Update list item ’ .Set the item as current item .Add the field Approval status as Approved .
    11.  
    Add an Else-if branch to update the Approval status as Rejected .
    12.  
    Publish the workflow and test in your site .
    Thanks,
    Entan Ming

  • Sharepoint Designer Workflow - Send an Email that displays Item Changes

    Hi,
    I have set up a Sharepoint Designer Workflow that sends an email to the Owner of an item (designated by a column in my list) whenver that item is changed by another user. The workflow looks like this:
    If Current Item:Modified by not equals Current Item:Primary Owner
    Email Primary Owner
    This is set to occur whenever an item is modified.
    I would like the email to show what changes were made to the item, similar to how Sharepoint's notifications work. It should show what the field that was changed to trigger the notification contains currently and what it contained previous to the change. 
    Any help is much appreciated. 

    hi,
    out of box there is no option available. But you can implement a solution.
    Create a hidden field as multiple line of text. Make it a hidden field so that user cannot enter into this field.
    When ever a workflow start check if this field is empty that means item is create now using string manipulation in workflow concatenate the meta data in one workflow variable and save it in this hidden field.
    whenevre a workflow is start if hidden field is not empty it means this is an update item scenerio and than you 
    can have read old values from this field and you have new values in item metadat. format email to get diff.
    send email upadte the hidden field again with new meta data.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Can we have a loop in SharePoint designer workflows?

    I am using Infopath2013 form along SharePoint Designer workflows. The approvers are dynamically selected based on the multiple drop down selection. In certain scenarios, there may be 10 approvers and workflow should flow everyone in sequence with approve/reject
    option. If anyone rejects, the workflow stops, else workflow should reach till 10<sup>th</sup> approver.
    I am using Repeating table and I am able to capture all the 10 approvers and put them in a SharePoint list as column value. But in SharePoint Designer, I am not finding way to loop the task for the number of approvers.
    Is there way create a loop in SharePoint workflows?
    Thanks!
    Ravi
    Ravi

    Hi Ravi,
    Do you use SharePoint Designer 2007?
    Have you tried to use sequence approval workflow with participants in serial order?
    http://office.microsoft.com/en-001/sharepoint-designer-help/understand-approval-workflows-in-sharepoint-2010-HA101857172.aspx
    If you use SharePoint Designer 2013, there is an "loop" operation available you can take a look.
    http://prasadtechtactics.blogspot.in/2012/07/sharepoint-designer-2013-workflows-part_24.html
    Thanks
    Daniel Yang
    TechNet Community Support

  • SharePoint Designer Workflow - Unable to use ProjectUID in Emails

    Hello Everyone,
    I have a SharePoint Designer workflow running smoothly. The client now has a requirement where every email should link to the project's PDP page.
    I can do this by stitching a URL together like this:
    But when my workflow gets to this email, it fails with a status of Suspended (and the error below).
    RequestorId: 8df1cbcb-fc04-dc9f-0000-000000000000. Details: RequestorId: 8df1cbcb-fc04-dc9f-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 403
    {"error":{"code":"35120, Microsoft.ProjectServer.PJClientCallableException","message":{"lang":"en-US","value":"WorkflowActivityInvalidArgument"}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["276"],"SPRequestGuid":["8df1cbcb-fc04-dc9f-b9ff-b373c077c4f0"],"request-id":["8df1cbcb-fc04-dc9f-b9ff-b373c077c4f0"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4517"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 11 Feb 2014 20:48:48 GMT"],"Server":["Microsoft-IIS\/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}  
    at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context)   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)  
    at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    I have even tried sending an email with nothing but the ProjectUID and it still fails with this message, so I know that this variable is the issue.
    I have this issue on multiple environments and multiple servers, I cannot believe I couldn't find anyone else having this issue while researching.
    Does anyone have any clue as to what is happening? Isn't this happening for you as well?
    120811049008

    Hello Paul,
    This seems to be a bug and supposed to be fix in December 2013 CU. Please review the below thread
    http://social.technet.microsoft.com/Forums/ie/en-US/71829125-09de-4094-9a0d-d9740aa73348/error-workflow-project-server-2013
    Hope this helps.
    Thank you,
    Kiran K.

  • How to see/use Target Audience column in SharePoint Designer Workflow (SharePoint 2013 Online, Designer Workflow)

    Hello,
    I'm attempting to use use the Target Audiences field in a SPD 2013 workflow, in this case just attempting to log the value to history for testing purposes.  This is failing saying the column does not exist.
    I enabled Audience Targeting on the list then create a simple workflow to log the value to history when the item changes.
    I change an item and the workflow starts, but when it gets to any action looking at "Current Item:Target Audiences" it stops and says:
    HTTP BadRequest to <site url>/_api/web/lists(guid'XXXXXXXX')/Items(4)?%24select=ID%2CTarget_x0020_Audiences 
    The field or property 'Target_x0020_Audiences' does not exist. 
    But it does.  It is listed in the list setting and enabled for the content type.
    I ran the listed API through an API program and sure enough, Target Audience is not listed in the results object.
    I'm 99% sure I've enabled this and that the field is present and the workflow is valid.  I ran the same situation on two lists to ensure it wasn't a hiccup, same results.
    Is this a know issue?  I couldn't find anything obvious online saying you cannot see this field via workflow, most of what i found said this would work.
    Thanks an advance for any input.

    Thanks so much Lisa, for the clarification.
    I understand what you have explained, and have seen several similar explanations that have lead to my confusion.  Can you elaborate a bit, maybe for the sake of future information seekers?
    I understand that audiences can be defined using the rules operations in Central Admin, but it seems another standard function is to just directly assign existing SharePoint groups.  I think this is what you mean above, but this is also the point of
    my misunderstanding.
    In this particular setup I have only used existing SharePoint groups with no audiences defined in Central Admin.  List Item A has a target audience of SharePoint group X, just that simple of a setup.
    Assuming the above is valid, I would then like to see or alter the groups via SPD workflow.
    Based on the following posts, I was under the impression this may be possible (but obviously not fully clear and thus I posted this):
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/5eb984ba-55a3-4da7-a904-c34b2fece84c/how-do-i-set-the-target-audience-using-sharepoint-designer-workflow
    http://www.sharepoint-tips.com/2011/01/setting-target-audiences-with-code.html
    (sorry about lack of links, my account must still require verification)
    So in SPD, I set a simple action such as "Log Current Item:Target Audience to history" (note the I am able to select target audience in SPD like any other field with no errors).  At this point I am assuming everything is valid as SPD is treating
    the field like any other string field.  When executed the error in the above post comes up.
    So to confirm your explanation, this is not supported?  Even though the field is available for selection by design, it is not capable of use and known to produce errors in all cases of its use?  The first post above is 100% wrong and you cannot
    use SPD to set/view the target audience field?  The second post is also wrong as it seems to present the fields as available for alteration using string concatenation?
     If in fact the field is present by design, but also impossible to use by design, is this potentially a bug as the field is not supposed to be available if it will always produce the error when used with no error in SPD during compile?
    Thank you again for the reply and I hope we might be able to provide a rock solid answer to this for future seekers. 

  • SharePoint Designer Workflow unnecessary set Modified By value as System Account.

    Hi Friends,
    I have created SharePoint Designer Workflow, it update other List Item as well same Item on Item Adding and Editing event.
    I have Developed workflow using System Account.
    While doing any change by general user in Workflow list it update Modified By value to System Account only.
    I want modified by value as General user only.
    Or No need to update modified and Modified by details.
    So please help me How I can resolve this issue.
    Thanks,
    Digambar Kashid 
    Thanks and Regards, Digambar Kashid

    Hi Digambar, that's by design, but here are some workarounds:
    http://blog.mmasood.com/2012/12/approval-worfklow-showing-system.html
    https://social.technet.microsoft.com/Forums/office/en-US/f3f9b1ff-9507-4471-935d-4ab8937839b6/oob-approval-workflow-makes-modify-by-field-as-system-account?forum=sharepointadminprevious
    cameron rautmann

  • Placing lines of text beside multiple choice field in form

    I want to place single lines of text beside the multiple choice field in this form (as drawn above) instead of one box of text. Is this possible?

    Post the question in the forum for livecycle designer.

  • SharePoint Designer workflow emails sometimes fail to send

    Hi. I have had no luck following this up with support so posting to this group for visibility in the SharePoint Online team :)
    I have built a SharePoint Designer workflow that sends a notification email when a new item is created on a list. Generally this works fine, but about 20% of the time I find that the email fails to send. I get this error message reported by the workflow:
    The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.
    After some research I thought this was due to me using a SharePoint Online Group in the To field: so I changed the To field to a hard coded email address... but I still got the same problem periodically.
    There is definitely something odd going on within the guts of SharePoint Online. Please can someone investigate this?
    Thanks,
    MylesCatch me on Twitter

     
    Hello Myles,
    Custom workflows are currently unsupported by Microsoft Online, however I am not sure why you are using a workflow to send a email notification when a new item is created as an alert can be setup to achieve this. 
    If this information is not helpful, and find no resolution, you should consider these resources as well:
    http://office.microsoft.com/en-us/sharepointdesigner/FX100646991033.aspx Designer help
    http://blogs.msdn.com/sharepointdesigner/default.aspx Designer blog
    Hope this helps,
    Justin Bakelaar – BPOS Support

  • Copy ID from one library to list using sharepoint designer workflow 2013

    Hello,
    I am new In SharePoint Designer workflow.
    I want to copy ID [by default] from one SharePoint Library to SharePoint List by using SharePoint Designer workflow 2013.
    So Please provide me any solution on it.
    Thanks,
    Samadhan.

    Hi Bjorn,
    Please create a workflow based on SharePoint 2010 platform, there is OOB action "Copy List Item" which can copy attachment to another list.
    Then use "Update List Item" action to update fields value for the new item. In this action, we could use Item title to locate the newly created item. For your reference:
    However, we cannot make this workflow to start automatically. As workaround, we could use SharePoint Designer to create a Custom Action in the Source List and initiate the workflow. In my test, I created a Custom Action in the type of List Item Menu. Then
    the custom action would appear in the Item ellipsis dropdown menu:
    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]

  • Cannot set the email from address (reply-to) in SharePoint Designer workflow

    I have created several workflows for custom lists. Among other actions, they send out emails. It appears however, that they all use the same from-address. I would like to supply each of these workflows with different reply-to addresses.
    Can I do that? After a lot of searching it appears that the only way is to create separate Web Applications, since the reply-to address is set on Web Application level. But that would require several extra web applications in my case, which again need their own site collections and sites.
    I really, really miss a "From" field in the SharePoint Designer workflow "Send e-mail" action.
    Best regards, Jan.

    Hi,
    I think it is not possible out of the box. Have a look at the "Send email extended" custom SPD workflow activity (http://www.codeplex.com/SPDActivities ). As per the website "Send email extended - Enhanced version of the OOTB activity. Allow you to specify the sender. Also does not break links in body."
    Hope it helps.
    Xue-Mei Chang

Maybe you are looking for

  • Error with premiere and windows 8.1

    I have recently update my PC system to windows 8.1. I reinstalled Premiere 7.0 and now I can't make it work. It crushes when I try to create a new project and the program send a massage saying that there was an error and the program will close to try

  • Issues in running scripts from OTM

    Hi , I have created an endtoend scenario where the script starts from creating requistion, approval, PO creation approval , receipt creation then Invoice and payment. My script failing with different reason for different runs. Mailnly its failing whe

  • Need Itunes sync suggestions - ATV Day 2

    Hello, I have tried to sync my itunes to my ATV. Not all the songs/albums are sync (it seems it is sync very slowly). It is taking forever to sync. Is this normal? How long should it take (about 500 albums - about 4000 songs). Any suggestions on maki

  • Permission Denied on Syslogins.password when SQL2K to Oracle

    I am getting the following error when running the OMWB. Any help is appreciated. Failed to load Source Mode.[Microsoft][ODBC SQL Driver][SQL Server] SELECT permission denied on column 'password' of object 'syslogins', database 'master', owner 'dbo' I

  • Help with Logic Pro 8 Outputs

    Hi Struggling with something that i imagine is very simple but just cant work it out! Please help me. I will be using Logic 8 within a live environment and need to basically get various audio tracks 'out' of logic via my interface into a mixing desk.