sharepoint-workflow

SharePoint Designer Workflow Item Count

一笑奈何 提交于 2021-01-29 06:37:18
问题 I have created SharePoint designer workflow 2013. I am using REST API to fetch records with filter query as below [%Workflow Context:Current Site URL%]_api/lists/getbytitle('[%Workflow Context:List Name%]')/items?$select=Title,ItemId,Reaction,Flag&$filter=Flag eq '1' Now I am using Item Count Action to count the Results but it always give me zero. Kindly help me to solve the issue 回答1: You're missing web in your endpoint _api/web/ . It's helpful to output the rest api endpoint for

Is there options how to code/create workflow using SPFx?

﹥>﹥吖頭↗ 提交于 2020-01-25 12:13:20
问题 I developing web-part client-side solution using sharepoint framework. I successfully create a lists with some columns (it's list's columns not site). But now, I need to create a workflow, so is there any options, how to coding workflows using sharepoint framework and web-part client side solution? Have anybody some ideas or documentations witch could help me to moved further? 回答1: Can't create workflow in SPFx solution, you could use SharePoint add-in or Microsoft flow. SharePoint add-in

Is there options how to code/create workflow using SPFx?

倖福魔咒の 提交于 2020-01-25 12:12:21
问题 I developing web-part client-side solution using sharepoint framework. I successfully create a lists with some columns (it's list's columns not site). But now, I need to create a workflow, so is there any options, how to coding workflows using sharepoint framework and web-part client side solution? Have anybody some ideas or documentations witch could help me to moved further? 回答1: Can't create workflow in SPFx solution, you could use SharePoint add-in or Microsoft flow. SharePoint add-in

Is there options how to code/create workflow using SPFx?

大兔子大兔子 提交于 2020-01-25 12:12:15
问题 I developing web-part client-side solution using sharepoint framework. I successfully create a lists with some columns (it's list's columns not site). But now, I need to create a workflow, so is there any options, how to coding workflows using sharepoint framework and web-part client side solution? Have anybody some ideas or documentations witch could help me to moved further? 回答1: Can't create workflow in SPFx solution, you could use SharePoint add-in or Microsoft flow. SharePoint add-in

How to perform Looping Through List Items in SharePoint 2013 Designer Workflows?

China☆狼群 提交于 2019-12-25 10:16:11
问题 I am new to SharePoint. I'm creating a workflow in SharePoint 2013 in which I want to iterate a List using a loop. How to perform looping through list items in SharePoint 2013 Designer Workflows? 回答1: I'm not aware that there's any out-of-box way to get a workflow to "loop through" all entries in a list, but you can try to make two workflows bouncing back to each other until all entries are updated, here is the detailed steps, assuming that the list that we are working on is named list_work ,

Workflow Current Item Boolean does not work

旧城冷巷雨未停 提交于 2019-12-22 11:28:56
问题 I'm wondering if anyone has run into this situation. I have a 2010 workflow running on a SharePoint 2013 hosted site. I am checking for a boolean field in the workflow. The boolean is set correctly in the list as true and my log statement does in fact show the field is set to true. There are no errors in the log. The code below my IF statement should fire but it never does. What could cause this not to work? If current item:Resubmit equals yes Thanks! 回答1: I have a very long 2010 SPD workflow

how to use c# code in the page source of custom newform of a list to update some fields of it

孤街浪徒 提交于 2019-12-13 04:46:37
问题 I was looking for a solution where I'll populate the value from one list and display it to the another list. I have now got some code but not sure how use it. I have to now use some c# code into page source of custom newform of a list. This code will actually retrieve the user information and update to the field in the custom newform in the list. Following C# code I want to use in newform page source using sharepoint designer SPSite _site = SPContext.Current.Site; ServerContext serverContext

Sharepoint HTML Email outputs Junk characters for “Domain\Username” values

若如初见. 提交于 2019-12-12 03:16:27
问题 I recently created a workflow on Sharepoint 2010, which has a step to shoot out emails to the desired users. The content of the email body is formatted in HTML and I need the sharepoint to send me the details of the User who creates/changes a particular item. However, when i receive the email in my Inbox, I see that it is in Domain\Username format, but I also see some junk characters appended to the same. For Example. I receive the following output for the sharepoint Lookup [Current Item:

Update task item programatically in Sharepoint with CSOM

て烟熏妆下的殇ゞ 提交于 2019-12-12 02:49:49
问题 I want to update a task item programatically in CSOM. Item is updating but workflow is not triggering. I need just to open the item in sharepoint and save it. Then workflow is triggering. List requestTasksList = MyWeb.Lists.GetByTitle("TestRequest Tasks"); List<TestRequestModel> testRequestList = new List<TestRequestModel>(); ListItemCollection ColListItems = requestTasksList.GetItems(Spqur); ctx.Load(ColListItems); ctx.ExecuteQuery(); foreach (ListItem task in ColListItems) { task["Status"]

How to use Existing Sequential Visual Studio 2010 workflow code for SharePoint Online?

痞子三分冷 提交于 2019-12-11 15:02:25
问题 We are using SharePoint Server 2010, so we have developed sequential Visual Studio 2010 workflow as a farm solution using C# code. Now we would like to use the same code base for share point online/office 365 (small business) as a sandbox solution. Please advice. 回答1: Sorry, but I have to ruin your day. VS workflows are deployed as a DLL files ie. Workflows cannot be deployed as a sandboxed solutions. You can: a) Create sandboxed custom action or b) use sharepoint designer to create reusable