Hot answers tagged

4

Internally, percent complete is stored as a value from 0.00 to 1.00 so 100% would be 1. Change the Value you set in the workflow to 1 and the problem should be resolved.


3

The timerJob is executed at different level (WebApplication, Content DB ...) You need to create (instantiate and schedule ) this timer in a feature (in event receiver of feature). You must add your site workflow template with a feature (level site). Then, ADD workflow association to your rootSite manualy or programmatically of your site collection. If ...


3

If you are getting this then you must verify that the user to whom you are sending email must have email enabled in Active Directory. In order to cross verify that which user has email enabled you can run following command into the command prompt. Dsquery * -filter "&(objectCategory=user)(!UserAccountControl:1.2.840.113556.1.4.803:=2)(mail=*)" -attr ...


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


2

Are you running the script as admin, with system account? SharePoint prevents the workflows being run from system account.


2

I just gone through this requirement so I am posting the code which I used to attach workflow to List dynamically. I have written following code in my FeatureActivated event. SPSite site = properties.Feature.Parent as SPSite; SPWeb web = site.RootWeb; var test = properties.Feature.Parent as SPSite; if (web != null) ...


1

First, you can use a Lookup instead of a choice dropdown to get email addresses of offices. Then you can include the email address from the email list in the settings for the office lookup field. Then in your workflow, use the Wait for field to change action to wait for your Response field: Wait for Response to not equal Current Item:Response. Then send ...


1

I have explored the Approval workflow in depth since I had to write a detailed guide. You are aware that the workflow has a setting (that you can activate via sharepoint designer) that lets you 'start the workflow automatically' and/or "start the workflow manually" (the 2 options are not in opposition, as a matter of fact you can leave them both checked), ...


1

Turn on approval in the library, and make the other users contributors. This way, they'd be able to edit files, but no one would be able to see any of their changes until the changes were approved by someone in the training dept. This could also make document editing go smoother, as the business users could directly edit the files in place, instead of ...


1

One way is to assign a task that is built on a custom task content type that contains the additional fields (department and id). When the task is completed, the workflow could update the main list with the data from the custom task. Steps for creating the custom content type and using it from the workflow are here Edit: to read the values in the task, ...


1

JSOM Start SharePoint Workflows with JavaScript Client Object Model function LoadScripts(){ SP.SOD.executeFunc("sp.js", "SP.ClientContext" , function(){ SP.SOD.registerSod('sp.workflowservices.js', SP.Utilities.Utility.getLayoutsPageUrl('sp.workflowservices.js')); SP.SOD.executeFunc('sp.workflowservices.js', "SP.WorkflowServices....


1

Looks like there are several possibilities for your issue, outlined in this thread: https://social.msdn.microsoft.com/Forums/office/en-US/724d1347-c1ab-4dce-96b4-a97a0a320b8b/list-item-created-through-workflow-does-not-start-new-item-workflow?forum=sharepointcustomizationlegacy be cogniscant of using 'Set' versus 'Update' actions. Set will not trigger the ...


1

For your issue, I recommend to follow the steps as below: Clear SharePoint Designer cache: How to Clear Your SharePoint Designer 2010/2013 Cache Deactivate all "Workflow" features at the Site Collection level. Enable all "Workflow" features at the Site Collection level. PSCONFIG (Not Necessary) (or run the SharePoint 2010 products configuration wizard) ...


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 ...


1

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.


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 ...


1

I also have that "Something went wrong..." every time I tried to run a workflow from a restored site collection. My solution was to republish all of my 50+ workflows with SharePoint Designer, and re-associate all of the reusable workflows with each list in the list settings. That was a tedious job, so I resulted in creating two PowerShell scripts to do the ...


1

We developed ready to use SharePoint help desk with support of incoming email messages. It is quite customizable. I would recommend you to take a look. I'm not sure which version of SharePoint do you use, but it supports SharePoint 2013 and SharePoint Online in office 365. Product page Docs Series of articles for quick start



Only top voted, non community-wiki answers of a minimum length are eligible