Quantcast
Channel: Useful Sharepoint Designer Custom Workflow Activities
Viewing all 114 articles
Browse latest View live

Created Unassigned: Workflow will not run on certain machines [16434]

$
0
0
Our organization has recently upgraded to SharePoint 2010. The custom workflow activities was installed successfully. However, workflows contain any of those custom workflow activities will not run on __some__ machines. I happened to be one of unfortunate ones that cannot run those workflows. When I exam the workflow from my machine, I would see an error message "Could not deserialize object.." in place of the custom activities. But when I exam the same workflow from another machine, it would appear to be just fine.
We tried rebuilt my machine, deleted caches and nothing seems to work.
Has anyone encountered a similar problem and could offer a possible solution?
Thanks.

New Post: in not working with SP 2013

$
0
0
I, too am trying to deploy this on SP2013 Farm. I have done the following:

BACKUP:
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\web.config as web.old
 
POWERSHELL:
Add-spsolution -literalpath c:\wsp\dp.sharepoint.workflow.wsp
---- then
install-spsolution -identity dp.sharepoint.workflow.wsp -AllWebApplications -GACDeployment -CompatibilityLevel 15
 
Then Edit Web.config
Edit C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\web.config:
 
<System.Workflow.ComponentModel.WorkflowCompiler>
<athorizedTypes>
<targetFx>
  ...
  ...
  ...
 <authorizedType Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow" TypeName="*" Authorized="True" />
       </targetFx>
<authorizedType Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow" TypeName="*" Authorized="True" />
   </authorizedTypes>
</System.Workflow.ComponentModel.WorkflowCompiler>

When I open SP Designer 2013, edit my workflow, and try to insert one of the custom actions that are listed, nothing happens. Has anyone found a truly workable solution for this? Have I missed something?

New Post: Item level permissions for InfoPath forms via SharePoint Designer Workflows SharePoint 2007

Reviewed: SPDActivities 0.5.0 Alpha (Oct 24, 2013)

$
0
0
Rated 5 Stars (out of 5) - it's working good for wsss 3.0 and MOSS 2007. thanks

New Post: in not working with SP 2013

$
0
0
Hello ac_johnson,

Below are the changes I added. The safe controls are all different, take a note of the NameSpace. For AuthorizedTypes, they look exactly the same, all 3 lines. I had copied this from my SharePoint 2010 environment and I figured if it worked there, it should work for SharePoint 2013. Also, I made my changes at the IIS directory of my web application, bolded below and not in the 15 hive config directory.

C:\inetpub\wwwroot\wss\VirtualDirectories\80

<SafeControls>
 ...
   <SafeControl Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow.InfoPath" TypeName="*" Safe="True" SafeAgainstScript="False" />
  <SafeControl Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow.Install" TypeName="*" Safe="True" SafeAgainstScript="False" />
  <SafeControl Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow" TypeName="*" Safe="True" SafeAgainstScript="False" />
...
</SafeControlls>

AND

<System.Workflow.ComponentModel.WorkflowCompiler>
<authorizedTypes>
<targetFx version="v4.0">
  ...
  ...
  ...
            <authorizedType Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow" TypeName="*" Authorized="True" />
    <authorizedType Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow" TypeName="*" Authorized="True" />
    <authorizedType Assembly="DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83" Namespace="DP.Sharepoint.Workflow" TypeName="*" Authorized="True" />

      </targetFx>
</authorizedTypes>
</System.Workflow.ComponentModel.WorkflowCompiler>

New Post: in not working with SP 2013

$
0
0
Thank you so much, 12cjiu!
That worked perfectly! So relieved to have this resolved.

Commented Issue: Problems with events [12980]

$
0
0
I have tested these workflow activities in many scenarios. In few activities I have a big problems with events. A scenario is the best way to show where is a problem:
 
Scenario with starting other workflows:
 
* Workflow 1 (document library) autostart on create / manual start :
 
Step 1:
 
Get information from user
 
Step 2:
 
Start another workflow: Workflow 2 (SPDActivities)
 
* Workflow 2 (document library) autostart on create:
 
Step 1:
 
Get information from user
 
* Workflow 3 (task list) autostart on create
 
Step 1:
 
Grant permission (SPDActivities)
 
When Workflow 1 was started manually or automatically then Workflow 3 was started and completed without any problems. Workflow 2 is started in step 2 of Workflow 1 and creating task in Task list like Workflow 1 in step 1 but now Workflow 3 doesn't start (???). If I start Workflow 2 manually then Workflow 3 starting without any problems.
 
Scenario with copy list item to otheh list:
 
* Workflow 1 (Source document library) autostart on create / manual start :
 
Step 1:
 
Get information from user
 
Step 2:
 
Update document with data collected from user
 
Step 3:
 
Copy current document to Target document library (standard SharePoint workflow activity)
 
* Workflow 2 (document library) autostart on create:
 
Step 1:
 
Get information from user
 
Step 2:
 
Update document with data collected from user
 
Step 3:
 
Copy current document to Target document library (SPDActivities)
 
* Workflow 3 (task list) autostart on create
 
Step 1:
 
Get information from user
 
Step 2:
 
Update document with data collected from user
 
Step 3:
 
Copy current document to Target TEMP document library (standard SharePoint workflow activity) then
 
Copy current document to Target document library (SPDActivities)
 
Workflow 1: Information collected from user are stored in current document and then this document is copied to Target document library.
 
Workflow 2: Information collected from user are stored in current document but historical version of this document is copied to Target document library.
 
Workflow 3: Information collected from user are stored in current document and then this document is copied to Target TEMP document library. Then correct version of this document is copied to Target document library.
 

 
Summary:
 
In my opinion these SPD Activities are great but not very useful with these problems. I think the problem is with managing events in workflow. Correct it please....
Comments: ** Comment from web user: lmajda **

Have the same problem. Did you solve the problem ?

Cheers
L.

Created Unassigned: Workflow to change item permissions to approver and author [16541]

$
0
0
I'd like a workflow that will change the permissions on a document in a library to that of the author and workflow approvers. I have tried using the Impersonation step, but I cannot find a way in the SharePoint objects to get the approvers of a workflow.

For example, I'd like to be able to upload an expense report to a library. For people to be able to upload to the library, they must have permissions to the library. Once the document is uploaded, everyone should not be able to read the expense report. Only the author and the approvers should be able to.

Is it possible to change the permissions just on the document either with a workflow or code so that only the author and approval workflow approvers and have access to the document?
Thank you,

Commented Issue: solution causes performance issues [16035]

$
0
0
Hi,

I actually wanted to report an issue. I'm using these activities specially look up user info and infopath activities but on running WFs, I get "potentially excessive number of requests" message in the logs and this is causing performance issues to us where some of the workflows specially if the infopath form that the workflow is running on includes attachment have error in the WF (transaction time out) and sometimes this happens with forms without attachments and this is solved for the forms just without attachment by restarting WFs , we have a case opened with Microsoft and they informed us that this solution is causing alot of performance issues that most probably is the cause of our problem so please if anyone has encountered this issue let me know and below is a section from the logs showing the error so kindly advise if you could check this issue .
Thanks.

logs:
```
Potentially excessive number of SPRequest objects (29) currently unreleased on thread 43. Ensure that this object or its parent (such as an SPWeb or SPSite) is being properly disposed. This object is holding on to a separate native heap. Allocation Id for this object: {7AF7501E-1E04-4332-AF94-31B5679F53E8} Stack trace of current allocation:
at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous)
at Microsoft.SharePoint.SPWeb.InitializeSPRequest()
at Microsoft.SharePoint.SPFile.CheckOut(SPCheckOutType checkOutType, String lastModifiedDate)
at DP.Sharepoint.Workflow.IPAccessHelper.SaveForm()
at DP.Sharepoint.Workflow.InfoPath.IPAccessService.Commit(Transaction transaction, ICollection items) at System.Workflow.Runtime.WorkBatch.PendingWorkCollection.Commit(Transaction transaction)
at System.Workflow.Runtime.WorkBatch.Commit(Transaction transaction)
```
Comments: ** Comment from web user: jherschel **

We have the same issue...

New Comment on "Send Email with HTTP File attachment"

$
0
0
These activities are not working in secure environments (https://). the workflow gives "Failed on Start"

New Post: is Send Email with List Item attachments working

New Comment on "Copy List Item Extended Activity"

$
0
0
Can this be installed with SharePoint 2013? I really need to add a feature to move an item during a workflow to a folder.... I have attempted to installed for SP2013 but cannot, I also cannot install SharePoint Services 3.0 on SharePoint 2013 to make the installer happy.

New Post: Copy List Item Extended Activity -- Difference between Copy/Move

$
0
0
I am having the same issue, How can I work with the "Copy List Item" without deleting the workflow history?

New Post: in not working with SP 2013

$
0
0
At my attempt of trying this... I was able to get it successfully working without having to modify any Web.config files.

__I simply just run the powershell commands and rebooted the server... After the reboot I was able to get them into my workflow and run them without any issues.

I'm running...
-Running Windows Server 2012 R2 / Sharepoint 2013 SP1
-Using 2010 Workflows.__


POWERSHELL:
Add-spsolution -literalpath c:\wsp\dp.sharepoint.workflow.wsp
---- then
install-spsolution -identity dp.sharepoint.workflow.wsp -AllWebApplications -GACDeployment -CompatibilityLevel 15

New Post: Copy List Item Extended Activity

$
0
0
Copy List Item Extended Activity

SPD 2007 - I can choose the extended activity from the workflow Actions dropdown list - but then there are no fields to choose ie: list or place to type in the URL of the library I want to copy the item to! Can anyone help with this? dellis@stegh.on.ca Thanks in advance

New Comment on "Copy List Item Extended Activity"

$
0
0
Hi, I don't know if anyone still read these but I have similar problem like some guy's here. i instal solution, activate, and everything work fine with list, but on library I got error Access denied. Have anyone know solution? Tnx

New Post: Copy List Item Extended - Access Denied

$
0
0
Hi,

It was long time ago anybody replay to these theme but I wondering if anyone out there still have problem with access denied? If I try to copy list item it work fine, but I have problem with document library. We copied DLL in the GAC, and restarted our IIS but still get error

System.Security.SecurityException: Access denied.
at Microsoft.SharePoint.Administration.SPFormDigestSettings.set_Enabled(Boolean value)
at DP.Sharepoint.Workflow.ListItemCopier.CopyFileWithHistoryCrossSite(SPFile sourceFile, SPFolder destinat

Br. Dejan

New Post: is Send Email with List Item attachments working

$
0
0
^ Those comments are not helpful in general.

Reviewed: SPDActivities 0.5.0 Alpha (Jun 02, 2014)

$
0
0
Rated 5 Stars (out of 5) - Any same soliution for sharepoint 2013? or how can i get this working for SP 2013? Please help

New Post: is this working on SharePoint 2013?

$
0
0
i want to deploy it on our 2013 server but before doing it i want to know if it is working on SP 2013 environment.
Viewing all 114 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>