I am working on a workflow which is to send emails according a multichoice field.
He're my workflow-
Link to image
How can I change the workflow so that when BOTH items are selected it sends two emails to the different recipients?
Any help appreciated.
don't use if-else, use 2 separate IF's, that should do what you want. e.g.
if(ChoiceControl contains 'Test Site')
Email IT Support
if(ChoiceControl contains 'Thornleigh')
Email Test
Just below the first if, enter another 'if any value' Action and it will give you two joined if's joined by And. Change the And to Or. Here is an image that will show you the results.
Let me know in case you need further details.
Related
Is there a way to programmatically filter IBM Notes (Lotus Notes) view UI using complex criteria?
For example, if I want to let users specify criteria and then show results in notes view UI all documents with particular status and the particular manager name?
I am aware of #SetViewInfo formula, but as far as I understand it works with only one view column, and I don't understand, how can I apply a criteria, that contains more than one conditions inside, for example: Status="Completed" AND Manager="John Doe" ?
Any ideas?
One solution to this problem is to have a shared private on first use folder for the result set. You would use a form to gather the selection query or fulltext-query and put the documents in the result folder.
I have a Sharepoint list that I have created for testing purposes only. What I am testing is sending an email with different content based on a conditional in a Microsoft-flow process. The conditional looks at a Yes/ No column called Test_YES_NO_DEFAULT_YES. As the name implies, that column always sends back a YES. The process works fine, but the conditional always sends back the IF NO in the email. This is what the flow looks like!
I have had tried 1, True, TRUE, true, yes, Yes, and YES with no results.
What do I have to do In order for the conditional to execute the IF YES?
Click "Edit in advanced mode", and enter this in the text field:
#equals(triggerBody()?['Test_YES_NO_DEFDAULT_YES'], true)
Please double check the name of the column (I took the one from your screenshot).
EDIT:
Note that this is not the same as you tried (true), since writing "true" in Basic mode puts the string in the formula, instead of the bool value true.
You can use SharePoint designer workflow for checking the condition.Once item is created trigger the workflow to check for your condition. Content of mail you can store in SharePoint list. SharePoint designer workflow have many options for checking the condition for the workflow.
Sanjeev
Since your column is a boolean, you need to convert your 'true' to a boolean via the bool() function.
Using your example, this should work for you:
#equals(triggerBody()?['Test_YES_NO_DEFAULT_YES'], bool(1))
MS Flow is built on top of Logic Apps, so for more info, check out the functions section here: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language
I created in SharePoint a list. It has several columns, one of these columns is called assined to. It contains one or more person.
What i want, is that an email is send to the new person/s, if a new person is added to this column.
Now i searched a little bit, and found out that I should use Workflows to solve this problem. But the problem is the Workflow is started only automaticly if any changes are made in an element or when an element is created.
So my question is, is theire a possibility to trigger an email by content changes in a specified column.
By the way im working with a list in SharePoint 2013.
One way to accomplish this is to use an additional column on the list to track the previous assignment. Whenever an item is modified, the workflow can run and check the Assigned To field against the new Previous Assignment field. If they are different, the workflow can send the email and then update the Previous Assignment field to be equal to the current Assigned To value.
You can make the Previous Assignment field hidden from forms in the content type settings so that it won't be visible (and confusing) to users.
Yes, this would work. You would need to create a condition which checks on every change which is made to the item if the field "assigned to" is filled.
Here is nearly the same requirement at the MSDN Forums:
https://social.msdn.microsoft.com/Forums/office/en-US/112c2be9-5d3e-47d1-ad1c-06312de8a925/workflow-condition-assigned-to-is-not-empty?forum=sharepointcustomization
We've created a pretty standard issue tracking system based off of SharePoint's template with just a few extra columns. On the list view (AllItems.aspx), the first column is called "Issue ID" and has a number. Our developers and QC use that number in discussions. However, that number doesn't seem to want to show up on the detail form (DispForm.aspx) nor in the alert email.
Can this field be included in at least one of these communication methods? If so, how?
Thank you.
We did something similar and used workflow via SharePoint Designer to copy the ID field into a field called "Issue Number". The workflow gets triggered automatically on Create / Edit (we included edit because the field can be modified by the user on the edit form and if that happens we want the number refreshed with the actual ID).
Before you create the workflow in SharePoint Designer, you need to add a column called "Issue Number" to the list you want to tweak.
List item
Open Sharepoint Designer
List item
Click File New -> Workflow
Give a name for the workflow
a. select the list from the dropdown
b. Uncheck Allow this workflow to be manually started and check automatically start on new and change then press Next
Give the step a name like "Assign Issue Number"
Create a Condition
If Compare a field -> If Issue Number not equals Current_Item:ID
Create an Action
Update List Item -> Set Issue Number to Current_Item:ID
Press Finished and test out by creating a new issue.
*The Issue Number will appear on the form and if you have emails setup to notify on assignment it will appear in the reassigned template.
*It will not appear in the created email confirmation because the workflow gets triggered after that email was executed.
I just added the issue ID using a total of 4 characters. Create a new column, set it to a Calculated column, in the formula type [ID]. Voila! The ID is now in your detail view.
The ID link returned the for me, however, the work around which sufficed for me was to enter 'Created' in the Calculated Column formula and ensure it is set at date and time. That then creates a unique idenity (unless you receive more than 1 list update per minute) than can be viewed in the email alert message
I have a Person field in my custom list. I want to have a view that will show multiple fields from that Person instead of the one I had to choose when creating the Person column.
So basically I want to have one column for Person and then in the view see Name, title, email, phone. All of those are valid choices but I can only pick one right now.
I really want to avoid typing in the username lookup for each column I choose to display.
This is SP 2007
It sounds like you need to create a custom fieldtype (with a fieldcontrol) that inherits from the userfield but in viewmode renders out the different columns you need. Is that something along the lines you are looking for?
http://www.sharepointblogs.com/nicksevens/archive/2007/08/31/create-custom-field-types-for-sharepoint.aspx
Note: This link is broken
You probably want a Computed Field. Note that this is not a Calculated Column. A Computed Field is what is used to display the same data is different ways. In SharePoint there is a Title field, but there is also a "Title (linked to item with edit menu)" computed field as well as a "Title (linked to item)" computed field.
See midway down this link for more details. I'm not sure if it will have all of the power that you need, but if it does it is almost certainly what you are looking for if you don't mind getting into the Schema XML file a little.
Could you use a DataView web part for this? If it's just a question of viewing the data that might be suitable.
Came across this thread and thought I'd add a tip. This suggestion is clearly not for every use case, but may work well in situations where you're managing a list rather than allowing manual inputs (verified to work with SP 2013):
Create a spreadsheet with columns to match your SharePoint list that contains multiple profile fields. (for example: name, phone number, email address)
In the spreadsheet, enter the same email address in all of the person/group field types in that row. (e.g., boss#company.com, boss#company.com, boss#company.com)
Select and copy the row(s) you wish to transfer to SharePoint.
In SharePoint, change the list view to "Quick Edit" and paste the row(s) into the grid.
SharePoint will process each field and convert the email address to the profile value you selected during the list setup.