Quantcast
Channel: Workflow Manager 1.0 forum
Viewing all 897 articles
Browse latest View live

New task assigned to user from CurrentItem:UserField using Assign task action is assigned to different user.

$
0
0

Hello ! 

I have run into "funny" problem. 

I have following workflow:

User is creating item in ListA. In new form he needs to put Manager which is User Field column type. From people picker he is choosing login name Domain\jo (Two letters seems to be important here). User is resolved correctly to John Doe. Item is saved and added to list correctly. In list view John Doe is displayed in Manager column. In view item John Doe is in Manager field. In powershell Id;#John Doe is as a Manager field value. 

Now the "funny" part:

After item is added to ListA workflow is started automatically. Workflow is assigning new task to user from Manager (CurrentItem:Manager) field using Assign task action. Now the new task is assigned to different person i.e. John Dimagio with login name DOMAIN\jod ! When I am logging value to wf history of the CurrentItem:Manager field I am getting sth like i;123#DOMAIN\jod . So value is completely different and wrong. 

Can someone explain why is this happening? 

My guess is that using two letters login name can cause such case but why ?

Regards,


Workflow Manager Configuration Wizard stuck on "create a new service bus farm"

$
0
0

Hi!

I'm looking for help because i recently tried to install WF Manager on my VM with SP 2013 SP1. Unfortunately every time i try to set wf manager im stuck on this screen:

View Log:

It seems like its stuck "generating certificate". I dont know why and how to troubleshoot this problem. I already tried to wait several hours and nothing happened ....

'Start a task process' sends the task to the last person in the approval chain first

$
0
0

Hello,

I am using Sharepoint Online 2013 and SPD 2013.

I have a 'start a task process' in my workflow, which extracts the participants from a people-group lookup column in a sharepoint list. I have the 'Return field as' Display Names, Semicolon Delimited. In the image below, the 2nd people-group column has 3 participants.

For some reason, the action 'start a task process' would assign the serial task to the last person in the participation list. When I go ahead and approve the task, the workflow continues to run but fails to progress.

I am at a total loss for what is going on. Has anyone run into similar problems?

Best regards,
Calvin


Workflow Manager 1.0 wihtout SharePoint

$
0
0

Hello,

I'm working on an architecture to leverage workflow manager installed in a farm without SharePoint involvement. Is this feasible? What are the drawbacks if any? My high level design is for MVC clients initiation workflows directly via a WebAPI -> Workflow manager rest api. Please help

Add task to workflow

$
0
0

In sharepoint 2010 workflows i can add tasks to workflow programmatically after start. Whether it's possible in workflows 2013? Who are faced with similar?

Thanks


PetrIII

Add task to workflow

$
0
0

In sharepoint 2010 workflows i can add tasks to workflow programmatically after start. Whether it's possible in workflows 2013 without restarting workflow? Who are faced with similar? 

Thanks


PetrIII

How to re-register Workflow Service in workflow manager 1.0?

$
0
0

I am using SharePoint 2013 Management Shell to re-register my Workflow Service due the following error I am having in Sharepoint Designer 2013:

Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors: Cannot set unknown member 'CompositeTask.RelatedContentLinkListItemIntegerId'. HTTP headers received from the server - ActivityId: e8e6d4fe-2a4e-41df-a046-a88e93e89e27. NodeId: FS0008. Scope: /SharePoint/default/5985c481-dbed-409b-ada8-2aa2bfc64a47/08f0ee16-a466-4797-9ee0-4cdc56b27fe7. Client ActivityId : 403fe49c-6f29-f019-9b9c-d69dcbbedef6. ---> System.Net.WebException: The remot

Problem is that  I don't seem to have connection when it comes to indicate the WorkflowUri

Can this error be fixed in any other way?

How can I use HttpSend to POST complex XML content?

$
0
0

Can someone provide some guidance on using the POST method in the HttpSend activity?

I'm looking to POST an XML payload  that has namespaces and attributes. How do I build a variable that can store an XML document for use in the RequestContent property of the HttpSend activity? I don't see how the DynamicValue options work with XML. They seem only JSON focused, even though I found a vague reference that they could be used for XML. I can't find any examples on this.

Thanks,

Doug


Workflow Manager disaster recovery old instances not moving forward

$
0
0

Dear ALL,

I am facing an issue in workflow manager 1.0 disaster recovery.

I followed all the steps to recover workflow manager 1.0 mentioned in MSDN, new instances which I have created after restoration working fine, but the old workflow instances when I complete any of the task does not moving forward even the workflow is not getting suspended there is no error please see the screen shot. 

Regards,


Faraz Javaid


SharePoint Workflow 2013 : View workflow throws error

$
0
0

I have installed Sharepoint Workflow manager 1.0 in the Azure SharePoint Machine in order to bring workflow 2013. 

But my system is not updated to service pack 1. And after installing i am not able to open the workflow, it throws bellow error,

Method 'StartWorkflowOnListItem' in type 'Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider' from assembly 'Microsoft.SharePoint.WorkflowServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' does not have an implementation.

Please advise on this, can i uninstall my workflow manager 1.0 so that at-least i can get my workflow 2010 working, will it make any conflict with existing SharePoint application if I uninstall workflow manager 1.0.  Because the SharePoint & Project Server already used and got in production,

I really appreciate and thank.


Jacob Michael

Workflow Manager 1.0 Product Roadmap

$
0
0

Hi Folks,

I have a need to develop an application (C#, MVC 5, VS2013) that uses a basic workflow and am looking at a suitable workflow engine.

The workflow side of things will be stand-alone application running on an application server - some time in the future I may need to integrate it with SharePoint 2013 and Azure, however for the moment I will not be using these products.

I am thinking of using Workflow Manager 1.0 and/or WF 4.0 however, the products appear to have been around for a while and don't seem to be updated much.  I am wondering if Microsoft have a clear product roadmap/support lifecycle for these technologies or are they at end-of-life and should be replaced by something else.

Regards

Andy

Configure Admin Group in Workflow Manager Configuration

$
0
0

I have a SP2013 Box and a separate box where the Workflow manager is installed.I am trying to configure Workflow manager using the Configuration wizard.

While Configuring Admin Group i dont see the option of giving Service Account directly.My Service Account is not part of any domain group in AD.

For ex: Domain\ServiceAccount Name,Even tried with <Box Name>\Administators

Supported formats error that i get is :Configure Admin Group Error

So i tried <Box Name>\Administrators and its supposed to add the Administrators in the box to all the DB's that are created.

But its always failing cannot add the account that i am logged in and asking to add it Manually and failing with the below error.

Is really a domain group necessary for Configuring Admin Group.Why not an individual service account or administrators in the box where i am configuring  can be added.

Please help me in understanding the same.

Starting

Failure in adding <User Name> user in the local group Administrators. Please add the user manually.
An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.
An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.
An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.


Thanks, Vijay Arockiasamy


WorkflowStartParameter.ActivationParameter or another way to find Content-data later

$
0
0

Hello,

In a project I'm working on we're sending messages to workflow using the WorkflowManagerClient.Workflows.Start(...) function, with an instance of the WorkflowStartParameters-class as the second parameter. 

We're using the WorkflowStartParameter.Content dictionary to store the data that is going to be used inside the workflow. 

Our problem is that, in support scenarios (when a workflow gets suspended), we would like to be able to see what the Content-dictionary contained at the time the workflow was started. We're unable to find this anywhere.

We figured out a way to find this, and that was to instanciate an object of type SubscriptionActivationParameter and add the data we need to the Metadata field of that object and then add the SubscriptionActivationParameter to the WorkflowStartParameters.ActivationParameters field (see code below). We're then able to find this data later using the WorkflowInstanceInfo.ActivationParameters.Metadata field. This works, but we cannot find any documentation on what the ActivationParameters are used for, so this doesn't feel safe!

Can anyone please tell us what the ActivationParameters are used for by Workflow Manager, or tell us another way to solve our problem?

Code for starting WF:

public static string InvokeWf(this WorkflowManagementClient client, string workflowName, Dictionary<string, object> parameters, Dictionary<string, string> metadata = null)
{
    var startParameters = new WorkflowStartParameters();

    if (metadata != null)
    {
        var activationParameters = new SubscriptionActivationParameters();
        foreach (var meta in metadata)
            activationParameters.Metadata.Add(meta.Key, meta.Value);

        startParameters.ActivationParameters = activationParameters;
    }

    foreach (var parameter in parameters)
        startParameters.Content.Add(parameter.Key, parameter.Value);

    var instanceId = client.Workflows.Start(workflowName, startParameters);

    return instanceId;
}

With regards

Svein Rune

Unable to find the User Named Account Name@Domain Name while Configuring Workflow Manager

$
0
0

Hi,

I have installed Work Flow Manager,Service Bus and its Cumulative Updates.

While Configuring Workflow Manger using Workflow Manager configuration wizard i am getting the error while creating a Service Bus Namespace.

I have provided the Service Accounts for both Workflow Manager and Service Bus as Domain\Account instead ofAccount@Domain.

While looking in to the Power Shell scripts that are poupulated by the GUI i have identified thatAccount@Domain is appended to the ManageUsers switch while creating a Service Bus Namespace and the GUI configuration is failing.

    New-SBNamespace -Name 'WorkflowDefaultNamespace' -AddressingScheme 'Path' -ManageUsers 'Domain\Account','Account@Domain' -Verbose;

So i need to modify the Powershell script as below and need to run the Powershell scripts for configuring Workflow Manager.

Is this a bug in GUI Workflow Configuration Wizard or am i doing something wrong.

Please help.

    New-SBNamespace -Name 'WorkflowDefaultNamespace' -AddressingScheme 'Path' -ManageUsers 'Domain\Account' -Verbose;

Scripts Populated from GUI modified for Making it working:

# To be run in Workflow Manager PowerShell console that has both Workflow Manager and Service Bus installed.

# Create new SB Farm
$SBCertificateAutoGenerationKey = ConvertTo-SecureString -AsPlainText  -Force  -String 'Run As Password' -Verbose;


New-SBFarm -SBFarmDBConnectionString 'Data Source=Server Name;Initial Catalog=SbManagementDB;Integrated Security=True;Encrypt=False' -InternalPortRangeStart 9000 -TcpPort 9354 -MessageBrokerPort 9356 -RunAsAccount 'Domain\Account' -AdminGroup 'Domain\Domain Group' -GatewayDBConnectionString 'Data Source=Server Name;Initial Catalog=SbGatewayDatabase;Integrated Security=True;Encrypt=False' -CertificateAutoGenerationKey $SBCertificateAutoGenerationKey -MessageContainerDBConnectionString 'Data Source=Server Name;Initial Catalog=SBMessageContainer01;Integrated Security=True;Encrypt=False' -Verbose;

# To be run in Workflow Manager PowerShell console that has both Workflow Manager and Service Bus installed.

# Create new WF Farm
$WFCertAutoGenerationKey = ConvertTo-SecureString -AsPlainText  -Force  -String 'Run As Password' -Verbose;


New-WFFarm -WFFarmDBConnectionString 'Data Source=Server Name;Initial Catalog=WFManagementDB;Integrated Security=True;Encrypt=False' -RunAsAccount 'Domain\Account' -AdminGroup 'Domain\Domain Group' -HttpsPort 12290 -HttpPort 12291 -InstanceDBConnectionString 'Data Source=Server Name;Initial Catalog=WFInstanceManagementDB;Integrated Security=True;Encrypt=False' -ResourceDBConnectionString 'Data Source=Server Name;Initial Catalog=WFResourceManagementDB;Integrated Security=True;Encrypt=False' -CertificateAutoGenerationKey $WFCertAutoGenerationKey -Verbose;

# Add SB Host
$SBRunAsPassword = ConvertTo-SecureString -AsPlainText  -Force  -String 'Run As Password' -Verbose;


Add-SBHost -SBFarmDBConnectionString 'Data Source=Server Name;Initial Catalog=SbManagementDB;Integrated Security=True;Encrypt=False' -RunAsPassword $SBRunAsPassword -EnableFirewallRules $true -CertificateAutoGenerationKey $SBCertificateAutoGenerationKey -Verbose;

Try
{
    # Create new SB Namespace
    New-SBNamespace -Name 'WorkflowDefaultNamespace' -AddressingScheme 'Path' -ManageUsers 'Domain\Account' -Verbose;

    Start-Sleep -s 90
}
Catch [system.InvalidOperationException]
{
}

# Get SB Client Configuration
$SBClientConfiguration = Get-SBClientConfiguration -Namespaces 'WorkflowDefaultNamespace' -Verbose;

# Add WF Host
$WFRunAsPassword = ConvertTo-SecureString -AsPlainText  -Force  -String 'Run As Password' -Verbose;


Add-WFHost -WFFarmDBConnectionString 'Data Source=Server Name;Initial Catalog=WFManagementDB;Integrated Security=True;Encrypt=False' -RunAsPassword $WFRunAsPassword -EnableFirewallRules $true -SBClientConfiguration $SBClientConfiguration -EnableHttpPort  -CertificateAutoGenerationKey $WFCertAutoGenerationKey -Verbose;


Thanks, Vijay Arockiasamy

WFM 1.0 installation messed up?

$
0
0

Installed Work Flow Manager 1.0 via web platform installer. Running Windows 7 with VS2013 Update 4. Tried to do the tutorial. HttpSend activity not available in toolbox. Tried to browse for it. Went to Microsoft.Activities.dll. Loaded it (and other activites) into the Choose Toolbox Items dialog. Click ok. Receive message " The following tools were successfully added to the toolbox but are not enabled in the active designer. Thus, the HttpSend activity won't go into the tool box and cannot complete the tutorial. 

Next, thought maybe the installation was incorrect. tried re-running installer for Workflow Manager Tools. I get: "Microsoft Web Platform Installer couldn't find the product you tried to install. Either the link you clicked is incorrect or you may be overriding your feed with a different feed." Then there is a link to learn more about custom feeds and how to reset Microsoft Web Platform Installer, click here. When I click that i am taken to a promotional page titled Microsoft/web that is advertising WebMatrix3 for downloadit and other web products. To me, this is a non-sequitur and does not answer my issue.

So I try uninstalling it all. Removed  WF farm and SB farm, ran uninstaller, removed databases, etc. Uninstall Workflow Fabric. Uninstall Service Bus. Looks like nothing more to uninstall.

Went into VS2013 thinking to remove any Extensions. Saw Work Flow Manager Activites. But its uninstall button is greyed out and it says I must use Programs and Features pane in Windows Control Panel to uninstall it. I look at Programs and Features pane - there is nothing related to workflow or activities listed anymore.

So I try again to install work flow manager tools. Web Platform Installer still says it can't find the program. Tried installing Workflow Client - WPI says it is already installed. I thought I had uninstalled it. 

I am very confused by all this and would appreciate any help, advice, or prior experience anyone can offer - all I want to do is be able to install Workflow Manager and do the tutorials. Thanks in advance.


64bit workflow manager tools installation not working

$
0
0

I am configuring a development machine (Server 2008 R2) and have installed workflow manager 1. Everything seems to install just fine but the workflow manager tools only installs in the program files (x86) directory. There is an install in the Program Files directory but it doesn't have the Visual studio configurator files. I installed from the x86 directory but when running through the Visual Studio Workflow manager tutorial I am missing some things. Most importantly is the "HTTPSend" messaging activity. In looking at another post it looks like someone fixed that problem by going back and installing workflow manager tools. It looks like it did install on my machine although from the x86 directory. Running the Microsoft.workflow.visualstudio.configurator.exe file returns this "date -force to overwrite if necessary."

The only other potential issue is that I am using VS 2013.

Anyone else seeing the configurator only showing up in the Program Files (x86) directory? Anyone else using VS 2013?

The Win2008R2 install is 64bit obviously.

Thanks

Restore-WFScope

$
0
0

I am trying to test the Restore scope disaster recovery process stated in this link

http://msdn.microsoft.com/en-us/library/jj730570(v=azure.10).aspx

I have 2 SharePoint farms and 1 workflow maanger farms.

i created scope for each SharePoint farm

I took a backup from the DBs of workflows as stated in the above link

restored the DB into separate SQl server and then removed one of the scopes

then when i run the command Restore-WFScope, i get the followig error so any ideas?

Restore-WFScope : Cannot insert duplicate key row in object 'dbo.Activities'
with unique index 'IX_Activities_Name_Version'. The duplicate key value is
(e0514c20-c2af-f95c-1ae6-9290b755340d, IsEqualUser, 1).
The statement has been terminated. 


Kind Regards,

John Naguib

Technical Consultant/Architect

MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

Please remember to mark your question as answered if this solves your problem

Register-SPWorkflowService : The Root of the certificate chain is not the trusted root authority

$
0
0

Hi

I am attempted to setup workflow manager on an "all in one" test box where SharePoint 2013 and Workflow Manager are hosted on the same box.

Reigister-SPWorkflowSerive - SPSite "Https://intranet.domain.com" -workflowhostUri "https://sp2013allin:12290"

Causes the above error. .

I am thinking I may need to re-install the workflow manager as I think I might of replaced the personal cert after I first installed it.

Daniel


Freelance consultant

SharePoint 2013 Workflow Manager Problem

$
0
0

I am in the process of building a test SharePoint 2013 farm.

I have a 3 node, load balanced workflow manager farm.

SharePoint farm consists of the following: 3 WFE's, load balanced. 2 Application servers. 2 Index Servers

I have been following the instructions from Spencer Harbar located here: www . harbar . net / articles/wfm2.aspx

I have exported the certificate from the wfm web site and used these 2 commands to create a new SPTrustedRootAuthority $trustCert = Get-PfxCertificate "C:\wfm.cer" New-SPTrustedRootAuthority -Name "WF Manager Farm" -Certificate $trustCert

I get almost all of the way to the end and when I issue this command Register-SPWorkflowService -SPSite "https : //portal.com" -WorkflowHostUrl "https : //wfm.com"

I receive this error: The root of the certificate chain is not a trusted root authority.

How do I resolve this error?

Workflow (2013) hangs or takes a long time to execute next stage

$
0
0

I have a Sharepoint 2013 workflow developed in visual studio.  This workflow has been working great for over a year without any changes. There have been no changes to the list settings. We have noticed within the last 2 weeks that some workflows will complete as normal while others will randomly hang on different stages for a few minutes or sometimes hours.  

Today, I noticed some workflows are stuck on a "WaitforFieldChange" activity on the associated task list even when the target field has changed. This workflow only fires on item creation so I don't know how to make them continue. We do not want to terminate the workflow because some of the associated approval have already been completed and that would cause a headache. 

I checked the Event logs on the servers (1 WFE and 1 App) and noticed a few entries that look suspicious:

Error processing management request. Method: POST, RequestUri: http://****:12291/NotificationManagement/$Notifications/?$expectedScopeRevision=0, Error: Microsoft.ServiceBus.Messaging.MessagingException: The remote server returned an error: (500) Internal Server Error.   

------------------------------------------------------------------------------------------------------

Dispatcher encountered an unexpected exception: System.Runtime.CallbackException: The call to OnRequestAbort on the WorkflowInstance 'bc6763c7-9612-48d9-9231-35dfcb53e923' threw an exception. This is considered fatal.

------------------------------------------------------------------------------------------------------------------

Failed to query the remote endpoint for the S2S metadata document. Details: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it

-------------------------------------------------------------------------------------------------------------------------

Viewing all 897 articles
Browse latest View live


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