New answers tagged

0

Not sure what the issue was but cleared his cache and it's working fine for now. Wish I had a more definitive answer as to what was going but it is what it is I suppose.


0

Try placing a "Pause for Duration" of 5 minutes at the start of the workflow. This can prevent issues if there are calculations or other changes within the item that are in the process of updating. Also, try adding "Log to History List" actions after each "set" action throughout the workflow; this will help identify any problem areas. Just remember to remove ...


0

According to the answer on this post, if you remove the "ID" that was appended by Visual Studio to your Column, that should resolve your problem. LookupSPListItemId and Person field in SharePoint 2013 workflow


2

I don't think you can have one workflow clean up unfinished tasks either as a SharePoint Designer workflow cannot work in a state machine. You could put a ton of logic into it, effectively a try-catch for each step, but you might go insane doing that Please check the answer at below article. Can you use a workflow to terminate another workflow


0

I had the same issue with a workflow on a list. The user wanted to start te workflow manual only in some situations. But it was no option to give this user contribute permissions on the whole site. To facilitate this I created the following workarround. I added a choice column to the list (Start Workflow) (Yes/No) (Default value No) In the workflow I ...


0

Not sure exactly what is in your list but you could create a workflow that Loops. (some sudo workflow) Set variable $date to may 5 2017 Loop statement Pause till $date Do your actions add 365 days to $date then it loops back Not supper elegant but this might work. Other option ...


0

This scenario is not good fit for the SharePoint. You have to use the 3rd party software to manage the password. In past we used the PAR tool from Dell (old Quest). Reason why SharePoint is not fit. Once user get the password, then User dont need to come back and get it. as SharePoint will not change the password. You have to manually change the Password ...


0

If you really dont want Limited access feature in your site, deactivate the Limited-access user permission lockdown mode feature. And check if you still face that issue.


1

Just an idea, you could create lists in order to achieve that. For example, you create 2 lists, A and B, grant permissions to some users to the list A and some to the list B. In the manager's case, you grant permissions to both lists, the items in those lists are the username/password. Also, it is nice that you can grant users read-only access so only users ...


0

Have you tried an Impersonation Step. If ACC2 does not have the ability to update the information in the custom list, this would alleviate that issue.


0

I think what I'm trying to achieve is simply not possible in Microsoft Sharepoint. Instead I've created 2 differents custom lists with differents permissions, then created a workflow that copy every item submitted by a user into one of these lists, depending on fields values.


1

Add your submit library as a Receive data connection and select ID as a field you want to return. Set your formula equal to Concat("Comment",max(select ID from your data connection")+1) This ends up querying your submit library to get the maximum ID number in the library already and adds 1 to it.


1

The ID field isn't very reliable when it comes to calculated fields. The best approach for this seems to be to grab the ID and set the value via SPD workflow. You can use =[ID] for items that already exist in a calculated field, but it doesn't work on creation of a new item. Related: How to use calculated field to retrieve the ID of the item in the ...


0

You should create a SharePoint Group that don't have Manage List permission. Now add all users who can't approve the items into that group. Now go and remove the users from the current groups.


0

Looks Like Your workflow Manager is not properly configured. First, we have to check if Workflow Proxy is properly connected. Go to the Central admin > Application Management > Manager service Application On this page you will see the Workflow Service Application proxy, click on it and on next page it should say connected. If you are not getting above then ...


0

Workflow service application proxy should be connected to web application You can follow this link for better understanding https://social.msdn.microsoft.com/Forums/office/en-US/2c260d6a-34e8-43b5-805c-1f1f00c88563/sharepoint-designer-2013-workflow-platform-is-not-available?forum=sharepointcustomization


0

Enable workflows in the site collection features and site features. U can find these settings under site settings.


0

If you want to do it manually, you can edit task fields in dataview in the workflow task list. You can even change the Content Type to Task and it will let you change it like a normal task, and switch the content type back. It would be difficult to do from within the workflow because the workflow doesn't keep track of the IDs of the tasks created within a ...


0

Turns out to be easier than I expected, although there is no automatic association through content type or list template ID. Basically, you just create a List workflow, but do not associate it with a list. Associating a List workflow with an existing list is optional in VisualStudio. As stated in the question, I am on-prem and able to take advantage of ...


0

Turned out that when associating workflow (publishing subscription) with a list it is not enough to use $wfSubService.PublishSubscriptionForList($sub, $ApprovalListId); - you need to explicitly set list id on workflow definition. I edited the PowerShell script and added the following lines: $wfDef.RestrictToType = "List" $wfDef.RestrictToScope = $...


0

From MSDN: “Unlike previous versions, SharePoint 2013 does not support workflows that are scoped to a content type (SPContentType). However, the messaging infrastructure is extensible, so it can support any arbitrary scope. As a developer, you can set the EventSourceId property on a given WorkflowSubscription instance to any guid. You can then use that ...


0

Have two transitions coming out of State 1, one going to State 2 and one going to State 3. For the transition condition you need to test the outcome field from the task. I can't remember what the name of the field is exactly, it might be Outcome or TaskOutcome (I think the latter). Take the outcome, put it into a workflow variable called Var1 (or whatever ...


0

You can perform the same using either SharePoint Designer Workflow or Visual Studio workflow. If the steps are simple and can be sufficed using designer workflow then go ahead with designer workflow. If you need customisation in approach then go ahead with Visual studio workflow. Here are some links that can help you give brief idea about creating Three ...


0

As @Abdessamad TAHRI said, you cannot use code in Visual Studio for SharePoint 2013 workflows. Workflows are declarative now and you would need to expose whatever data you need from that database to a web service that you can call in the workflow.


0

Is there an existing instance of that workflow running, which you need to terminate first? If so, terminate all running instances.


0

the only way to call some code is by using the HttpSend activity and call a custom webservice


0

Your problem is with those first two conditions: "If future task count equals 0" means "if all tasks in the process have been created" "If active task count equals 0" means "if there are no more tasks waiting for a response" Try removing those two conditions.


1

Assuming you're developing your workflow in SharePoint Designer: Right-click the task process activity in your SharePoint Designer workflow and click Properties Set the ExpandedGroups property to Yes If you look at the description of the ExpandedGroups property, it says "If true then assign a task to a group means one task will be assigned to each member ...


-2

Maybe you could use the new flow app of Microsoft? Flow.microsoft.com Edit: This is a workaround which may suit your needs. Go to flow.microsoft.com Search the templates for When an item in a SharePoint list is modified/added send an email. Adjust the template with the same conditions u have in your current workflow. Congratulations your future proof ...


1

My guess would be that the Assigned to field won't accept the user group's ID and would need another property. So I would suggest this: After the GetDynamicValueProperties activity, add a LookupSPGroup activity In the Properties of this activity in the GroupPrincipalId property add your OwnerId variable. Set the result property to any variable of your ...


0

You can create a workflow with a loop, in this loop insert a command "waiting to" and set to date + 2 hours, then send e-mail. If the task is completed, end the loop. Else, enter in loop.


0

If your prod environment is on-prem, and you are not worried about it moving to the cloud, you could take advantage of that and write an event receiver that will fire on ItemCheckingIn, which would allow you to do exactly what you are trying to do - run some validation code against the file in question and reject the check-in if necessary. However, your ...


0

You could try to implement a Web Service that calls your client side code. You can then create a workflow via SharePoint Designer to call that Web Service on Check-In. If it passes, let it continue through the check-in process, if it fails, then reject the check-in. Working with Web Services in SharePoint Designer


0

May be I am late to answer here, but I was facing same problem and i found exact solution, the actual culprit is Workflow client installed with Visual studio. Just uninstall it from Program and Features in control panel


0

If you are doing same for SharePoint App Development you can refer link below: Sending email messages from a workflow in an app for SharePoint 2013 Also you can refer link from stackexchange where same question is answered for 2010 version. How to send an email in a visual studio sequential workflow you can refer this link for 2013 version: Send Email ...


4

Make sure SharePoint server have the WorkFlow Manager installed and configured. WorkFlow Manager also requires ServiceBus to be installed Then run the following commands in the SharePoint Management Shell: Register-SPWorkflowService -SPSite 'http://localhost:24000' -WorkflowHostUri 'https://localhost:12290' -AllowOAuthHttp -Force $WmsSap = Get-...


1

We need to run this script in SharePoint Management Shell $WmsSap = Get-SPWorkflowServiceApplicationProxy $WmsSap.RegisterWorkflowLifecycleManagementEnvironment() Reffered from this link and it worked for me.


2

Yes it is possible through SPD 2013 workflow along with REST Webservice call. Follow the steps below, Create a list workflow for the list where Column1 is present Configure the workflow to get triggered on Item Adding and Item Edit Edit the workflow Build a dictionary with below parameters and set output variable as Request Header accept : application/...


0

Find substring in string Substring= | string=1 Year|5ff55ee4-5a60-2132-bc02-bbfdd9f190ab here you will get the index of "|" Now pass that index in Extract string from start of string replace 0 with your index number, i.e. variable:index1 string=1 Year|5ff55ee4-5a60-2132-bc02-bbfdd9f190ab so you will get your output in variable:substring2 is 1 Year ...


0

I got this error recently. It was because i had 2 user name enries-one under my old domain/user , and one under my new i:#0.w|domain\user claims. I can only send myself an email if i select myself as a specific user. I cannot just use my text name or email address. I'm not sure how i got 2 user names, must have happened during our 2013 migration


0

An alternate solution is to make use of Event Receivers. Apply a event receiver on the list you want to monitor and write the code to shift/ fill data into the destination list.


1

from SharePoint designer select your list and create new list workflow. Select the list name of yours and give the name for workflow and click ok. check the options in the workflow settings in the fig 2 as shown where you can check the option start workflow when the item is created.


0

If you created a list workflow it should already be associated with the list. To have a workflow fire on start or change you need to select those options from the workflow settings. You can access the Workflow Settings via the List ribbon. Or if you created the workflow in Designer you will need to edit the settings in designer.


0

Removing a workflow from a list or library does not delete the actual source files used to compile the workflow. Rather, the workflow is no longer attached to the list or library, but the source files remain stored in the Workflows document library of the site. To delete the workflow, see the next section. In a Web browser, browse to the site that contains ...


0

Remove those if conditions and set workflow to run only during item created.


0

I had to deactivate and reactivate the Workflows setting in the Site Settings collection, Site features to get the 2010 templates to show up in O365.


1

There are two common symptoms and the underlying causes of each is human error. But don’t beat yourself up; they are easy mistakes to make and correct. Use the following to troubleshoot the issue: When a SPD workflow doesn’t copy one field to the target list: The field names don’t match The field names match, but the field type and the settings do not ...


0

Thanks to Mihail. After week of hard work my code solution is (for Sharepoint 2013). namespace ER1.EventReceiver6 { /// <summary> /// List Item Events /// </summary> public class EventReceiver6 : SPItemEventReceiver { /// <summary> /// An item was updated. /// </summary> public ...


1

While updating people picker field make sure it has employee Domain and username (Domain\Username). In SharePoint designer 2013 have action to check whether employee is a valid SharePoint user. Before update a people picker field check this condition "If person (employee id) is valid SharePoint”. This condition will return true or false value, if the ...


0

Yes, You can create a workflow and allow user to submit it. There is no more public website offering in the Office 365. You can take the advantage of security and compliance. Office 365 security and compliance Check this blog for the example. https://www.dmcinfo.com/latest-thinking/blog/id/8569/onboarding-employees-using-sharepoint-workflow



Top 50 recent answers are included