Workflow manager create activity at runtime

Hi,
I am trying to create Workflow manager 1.0 activity at runtime. Basically I am trying to create Xaml for the workflow through code. When I try to create "BuildMatchAllFilter"
activity, I need to set "Matches" parameter, but in this class is set to readonly.
Sequence seq = new Sequence
Activities ={
new BuildMatchAllFilter{
Matches = new Dictionary<string, InArgument>()
{"name", new InArgument<string>("instanceId")}
Please point me to the resource on creating workflow manager Xaml through C#. 
Thanks in advance.

Hi,
Please refer to the following code
client.PublishWorkflow(wf.Name, wf.Name,
new MatchAllSubscriptionFilter()
Matches =
{"RunWorkflow", “Ordered”}
For more information, please refer to the document:
http://developers.de/blogs/damir_dobric/archive/2013/06/11/ordered-workflow-activation-in-sharepoint-workflow-manager.aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • E-Recruiting - workflow created activity does not attach questionnaire

    Hi,
    I am wondering if this is "as-designed" behavior or if I have an error somewhere.
    I have a custom workflow that runs when the recruiter creates an interview activity. The workflow creates an "Interview Feedback" activity for the hiring manager. This is working fine except the questionnaire is not assigned to the activity. But if the recruiter creates an interview feedback activity manually, then the questionnaire is automatically assigned.
    The requisition does have a process template assigned, that assigns the questionnaire for the activity type. In the workflow I am passing the candidacy object as HROBJECT to the tandard "erc_activ.createfromdata" task.
    Has anyone else encountered this issue?
    Thanks,
    Margaret

    SAP HCM Consultant,
    Thanks for your reply. But I confess I don't completely understand.
    To create the activity, I am using the standard task TS51807961 in the workflow. This task uses the business object type ERC_ACTIV and the method CREATEACTFROMDATA. The binding looks like:
    Binding Workflow  -> Step 'Create Activity'
    Workflow
    Step 'Create Activity'
    9032
    &ACTIVITYTYPE&
    &ERC_ACTIV.ACTGUID&
    &REFERENCEACTIVITY&
    US
    &RESPONSIBLEOBJECTTYPE&
    &HIRINGMANAGER&
    &RESPONSIBLEOBJECTID&
    03
    &PROCESS&
    &HROBJECT&
    &HROBJECT&
    &EVENTDATE&
    &DUEDATE&
    '9032' is an activity type for a questionnaire type of activity.
    &ERC_ACTIV.ACTGUID& is the GUID of the interview activity.
    &HROBJECT is the PLVAR, OTYPE, and OBJID for the candidacy. The candidacy is assigned to a requisition which has the process template assigned. The process template assigns a questionnaire to the activity type 9032.
    When an activity of type 9032 is created for the same candidacy manually, in HRP5141 the field QA_TPL_OBJID is assigned the value 50004988. However when the workflow creates the 9032 activity as described above, HRP5141-QA_TPL_OBJID is blank, and so when the user accesses the activity they find there is no questionnaire attached.
    I am not sure how to use your suggestion to solve this problem. Can you clarify?
    Thanks,
    Margaret

  • Error when publishing WF containing custom code activity to workflow manager 1.0

    Hello:
    Workflow manager sounds every exciting to me, I am trying it out to see if it will work for me.
    I downloaded "CustomCodeActivitySample" of workflow manager 1.0, and when I ran, I got following exception:
    Workflow XAML failed validation due to the following errors:
    Cannot create unknown type '{clr-namespace:HashActivity;assembly=HashActivity}ComputeHash'. HTTP headers received from the server - ActivityId: 2a1e4d9d-90bd-4f59-a1fc-d3673194dd54. NodeId: NDL0714. Scope: /CustomCodeActivitiesSample. Client ActivityId : 235d66c1-bbe6-4982-8242-833a6bc1f6b1.
    more details:
    Microsoft.Workflow.Client.ActivityValidationException was unhandled
      HResult=-2146233088
      Message=Workflow XAML failed validation due to the following errors:
    Cannot create unknown type '{clr-namespace:HashActivity;assembly=HashActivity}ComputeHash'. HTTP headers received from the server - ActivityId: efe2c3cb-e6fd-4124-88a1-6c8e72aecb06. NodeId: NDL0714. Scope: /CustomCodeActivitiesSample. Client ActivityId : 73d7b773-be53-4a7b-b2d8-ba687e60a4f4.
      Source=Microsoft.Workflow.Client
      ActivityName=ProcessMovies
      ScopePath=/CustomCodeActivitiesSample
      StackTrace:
           at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
           at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
           at Microsoft.Workflow.Client.ActivityManager.Publish(ActivityDescription description, Boolean overwriteXClassName, Boolean terminateDependentInstances)
           at Microsoft.Workflow.Client.ActivityManager.Publish(ActivityDescription description)
           at Microsoft.Workflow.Samples.Common.WorkflowManagementClientExtensions.PublishWorkflow(WorkflowManagementClient client, String workflowName, String xamlFilePath, Collection`1 externalVariables, IDictionary`2 configValues,
    SubscriptionFilter activationFilter) in c:\WFM_C\C\Microsoft.Workflow.Samples.Common\WorkflowManagementClientExtensions.cs:line 45
           at Microsoft.Workflow.Samples.Common.WorkflowManagementClientExtensions.PublishWorkflow(WorkflowManagementClient client, String workflowName, String xamlFilePath, SubscriptionFilter activationFilter) in c:\WFM_C\C\Microsoft.Workflow.Samples.Common\WorkflowManagementClientExtensions.cs:line
    29
           at CustomCodeActivitySample.Program.Main(String[] args) in c:\WFM_C\C\CustomCodeActivitySample\Program.cs:line 39
           at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
           at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
           at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading.ThreadHelper.ThreadStart()
      InnerException: System.Net.WebException
           HResult=-2146233079
           Message=The remote server returned an error: (400) Bad Request.
           Source=Microsoft.Workflow.Common
           StackTrace:
                at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
                at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
                at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
           InnerException:
    Thanks
    ahorse

    Hi
    We had to update following in assemblyinfo.cs file.
    assembly: XmlnsDefinition("wf://workflow.windows.net/$Current/$Activities", "YourProjectNamespace")]
    to 
    assembly: XmlnsDefinition("wf://{WorkflowManagerServerName}:12291/$Current/$Activities", "YourProjectNamespace")]for e.g.assembly: XmlnsDefinition("wf://workflowmanagerserver:12291/$Current/$Activities", "YourProjectNamespace")]
    Only then custom code activity started working. However, this means, when we want to deploy in other environment with different URL, we need to re-build the assembly. 
    Is there any way by which we have this configurable?
    Regards,
    RK
    Radhakrishna

  • Workflow Manager | Use of Subscribe Activity

    Hi 
    I am new to workflow manager and exploring the use of pub/sub acitivities. What I have understood is to "Receive Notification" activity is some what similar to "Receive and Send Response" activity WF4.5. However, I did not understand
    the use of "Subscribe" activity. I have downloaded, pub/sub sample activities from MSDN Using Pub/Sub Activities. 
    In this sample "Subscribe" activities has been used in "OrderTally.xaml" but not in "ProcessOrder.xaml". Can anyone please explain  when to use "Subscribe" activity? Do we always have to use Subscribe with Receive
    Notification activity? 
    Regards,
    RK
    Radhakrishna

    >Plz let me know the use of lo_portal_manager->SUBSCRIBE_EVENT...and give some solution for my problem.
    This method initializes the Portal Eventing framework and subscribes this applciation to listen for a particular portal event.
    So first question - is your application running in the portal and is it still part of the portal page with the iView that produces this event.  Are all the applications in iViews in this page running in the same domain - otherwise portal eventing fails becuase of cross site scripting security restrictions.

  • How to create activity workflow based on the Web API 2 services

    Hi,
    We have Web API 2 services and we want create activity workflow based on the Web API 2 services.
    Web API 2 services provide some application operations and based on this operations we would like to create custom activity workflow.
    Question:
    Is that possible?
    Could you please give best practices to create activity workflow based on the Web API 2 services ?
    Thanks for your support.

    HI Max_P,
    Welcome to workflow forum.
    ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.
    I researched relevant topic about creating workflow application using Web API 2, I just found these resources about it.
    Learn About ASP.NET Web API
    Hope it helps.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SharePoint Designer 2013 -- Workflow Manager is required to create Workflow

    Hi,
    Is workflow manager is required to create workflow in SharePoint Designer 2013 for List Workflow. Is there any other alternative for this.
    With Regards,
    Jaskaran Singh Bhatti

    SharePoint 2013 supports both 2010 legacy type workflows that run in the OWS timer service on the SharePoint server and 2013 workflows that run on a server running Workflow Manager.  You can still create the same kind of workflows you created in SharePoint
    2010 without Workflow Manager.  That would include 2010 List Workflows.  You only need Workflow Manager if you want to create the newer kind of workflows that use Workflow Manager.  All the built-in workflows still use the 2010 legacy workflow
    system.  Both types of workflows can be created using SharePoint Designer 2013.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Create a flat file source in Designer in DIM from Workflow Manager

    I am trying to create a flat file source in Designer in DIM from Workflow Manager.However , I am unable to see the Planning folder therein to open. Can anyone help me in this respect.Plz help - very urgent.
    Thanks in advance

    Hello,
    http://help.sap.com/saphelp_nw70/helpdata/en/43/01ed2fe3811a77e10000000a422035/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a6581e07211d2acb80000e829fbfe/frameset.htm
    steps:
      create source system file (if you haven't)
    - create ods
    - create update rules for ods and activate
    - create infosource
    - assign infosource with datasource (source system file)
    - maintain transfer rules - maintain infoobject in sequence as flat file to transfer structure. map infoobject in transfer rules. activate transfer rules
    - create update rules ods-infosource and activate
    - create infopackage, specify external data path (recommended file put in application server)
    hope this helps.
    Regards,

  • Workflow manager 1.0 : runtime error 400 running Add-WFHost "The api-version in the query string is not supported"

    Installing Workflow Manager 1.0 for SharePoint Server 2013 SP1 everything is fine until the last step of the configuration and last powershell command : 
    Add-WFHost -WFFarmDBConnectionString 'myconnectionstring' -RunAsPassword $WFRunAsPassword -EnableFirewallRules $true -SBClientConfiguration $SBClientConfiguration -CertificateAutoGenerationKey $WFCertAutoGenerationKey -Verbose;
    gives me the following error : 
    Add-WFHost : The remote server returned an error: (400) Bad Request. The api-version in the query string is not supported. Either remove it from the Uri or use one of '2012-03'..TrackingId:412684e3-3539-468e-91e6-17838c6eaa55_GS
    P,TimeStamp:04/04/2014 12:54:11
    At line:1 char:1
    Can't find anything about this subject except this
    thread which does not help me that much in SharePoint dev env ...
    Removing workflow manager 1.0 and service bus (leave the farm using wizzard, remove binaries and databases) does not help.
    Who already faces this issue and how can I try to resolve it ?
    Best regards !
    Alexandre DAVID

    The API version is hardcoded in Microsoft.ServiceBus.dll, which ships as part of the Service Bus. Each version of this lib has a different string.
    If you install workflow manager 1.0, here are the pre-requisites:
    .NET Framework 4 Platform Update 3 or .NET Framework 4.5
    Service Bus 1.0
    Workflow Client 1.0
    PowerShell 3.0
    The following are the pre-requisites to configure Workflow Manager 1.0
    Instance of SQL Server 2008 R2 SP1, SQL Server Express 2008 R2 SP1, or SQL Server 2012.
    TCP/IP connections or named pipes must be configured in SQL Server.
    Windows Firewall must be enabled. [Windows Firewall is Off on target server]
    Ports 12290 and 12291 must be available.
    Here are the reference for installing and configuring Workflow Manager 1.0:
    http://lennytech.wordpress.com/2013/06/02/installing-workflow-manager-1-0/
    http://lennytech.wordpress.com/2013/06/02/configuring-workflow-manager-1-0/
    http://social.technet.microsoft.com/Forums/en-US/c74507fb-ac2d-405f-b19c-2712b1055708/workflow-manager-10-configuration-service-bus-for-windows-server-the-api-version-is-not?forum=sharepointadmin

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

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

    Hi Brendan,
    Is there additional information in Event Viewer?
    Also, probably the following links will be helpful for you:
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Problem starting message broker during service broker configuration
    Regards Michael (http://sp2013-blog.com)
    Please, don't forget to press upvote (if answer is helpful) and mark as answer (if it solves your issue)

  • Workflow Manager Configuration Wizard is not working with USER ID

    Hello everyone,
       I
    have successfully installed Workflow Manager 1.0 (and its prerequisites) on my Server 2008 R2 SP1 machine that is hosting Sharepoint 2013.  I attempt to go into the Workflow Manager Configuration.  That comes up and asks me if I want to Create
    new farm with Default Settings, New Farm with custom settings, or existing farm.  I've tried both Default settings AND Custom settings.
                When
    the configuration wizard comes up, I attempt to fill out the necessary information.  It seems to connect to the SQL server without a problem.  I only run into an issue when setting the USER ID.  The program totally freezes up and force closes. 
                I
    have verified that the USERID is in the correct format and tried multiple different formats.  The problem is that the moment I move the cursor from the USERID field to ANY other field, the program force closes.  I'm not able to hit submit, I'm not
    able to change any other options.  The moment USERID is manipulated or the cursor LEAVES the USERID field, the program force closes.  It won't even allow me to put in a password before it force closes.
                 Customer
    domain is running in Windows Server 2003 Enterprise Edittion SP2.
    Any
    ideas?
    I have installed also cumulative update to avoid crash but still I am getting force to close workflow wizard. I have used users which are already added in administrator groups.
    We are using 3 tier architecture for Sharepoint 2013.
    Also we have made Alias of Domain controller. Eg:-Alias is "labs" for domain "xyz.ab.com".
    And we are using labs\spadmin and labs\spservice for Workflow Manager Configuration 1.0
    Is there any issue with Domain Alias "labs" as Workflow gives error  "Specified RunAs account is invalid" or "Force close the application".
          I
    have copied the errors from event viewer below:
    APPLICATION
    ERROR
    Faulting
    application name: Microsoft.Workflow.Deployment.ConfigWizard.exe, version: 1.0.20922.0, time stamp: 0x505e1b30
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.17965,
    time stamp: 0x506dcae6
    Exception code: 0xe0434352
    Fault offset: 0x000000000000bccd
    Faulting process id: 0x17f8
    Faulting application start time: 0x01cddee198ece72e
    Faulting application path: C:\Program Files\Workflow Manager\1.0\Microsoft.Workflow.Deployment.ConfigWizard.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 22ab8b69-4ad5-11e2-af8f-005056965915
    .NET
    Runtime Error
    Application: Microsoft.Workflow.Deployment.ConfigWizard.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Runtime.InteropServices.COMException
    Stack:
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
       at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
       at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
       at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(System.DirectoryServices.AccountManagement.PrincipalContext, System.Type, System.Nullable`1<System.DirectoryServices.AccountManagement.IdentityType>, System.String,
    System.DateTime)
       at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
       at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsUserValid(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
       at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsDomainUserValid(System.String, System.String)
       at Microsoft.ServiceBus.Commands.Common.ValidateUserAttribute.Validate(System.String)
       at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsViewModel.ValidateDomainUser()
       at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsControl.UserIdTextBox_LostFocus(System.Object, System.Windows.RoutedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
       at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
       at System.Windows.Controls.Primitives.TextBoxBase.OnLostFocus(System.Windows.RoutedEventArgs)
       at System.Windows.UIElement.IsFocused_Changed(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.Controls.TextBox.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
    System.Windows.OperationType)
       at System.Windows.DependencyObject.ClearValueCommon(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata)
       at System.Windows.DependencyObject.ClearValue(System.Windows.DependencyPropertyKey)
       at System.Windows.Input.FocusManager.OnFocusedElementChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
    System.Windows.OperationType)
       at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean)
       at System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)
       at System.Windows.FrameworkElement.OnGotKeyboardFocus(System.Object, System.Windows.Input.KeyboardFocusChangedEventArgs)
       at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
       at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
       at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
       at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32)
       at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean)
       at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement)
       at System.Windows.UIElement.Focus()
       at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.TraversalRequest, System.Windows.Input.ModifierKeys, System.Windows.DependencyObject)
       at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.Key, System.Windows.Input.ModifierKeys)
       at System.Windows.Input.KeyboardNavigation.ProcessInput(System.Windows.Input.InputEventArgs)
       at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(System.Windows.Input.ProcessInputEventHandler, System.Windows.Input.ProcessInputEventArgs)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
       at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawKeyboardActions, Int32, Boolean, Boolean, Int32)
       at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(System.Windows.Interop.MSG ByRef, Boolean ByRef)
       at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(System.Windows.Interop.MSG ByRef, System.Windows.Input.ModifierKeys)
       at System.Windows.Interop.HwndSource.OnPreprocessMessage(System.Object)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
       at System.Windows.Threading.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority, System.Delegate, System.Object)
       at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(System.Windows.Interop.MSG ByRef, Boolean ByRef)
       at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
       at System.Windows.Application.RunInternal(System.Windows.Window)
       at System.Windows.Application.Run()
       at Microsoft.Workflow.Deployment.ConfigWizard.App.Main()
    Thanks
    Hansraj Rathva

    Check to ensure that the user you're running the wizard as has access to the Users and Computers folders in Active Directory. I had trouble with the "specified RunAs account is invalid" message, and when I granted the AD rights, I was able to proceed.
    The issue would be that the user executing the wizard isn't able to query AD to look up the specified user. The RunAs account you're specifying is probably fine.

  • Workflow Manager Suspends Workflows - "Invalid JWT token"

    Hi,
    I've installed Workflow Manager with the default settings described in this Technet article:
    http://technet.microsoft.com/en-us/library/jj193514.aspx. Everything seems to install just fine but when I create a very simple workflow test on an "Announcements" list which simple
    creates a Workflow History entry. However, the workflow immediately suspends with the following error which seems to be some kind of an authentication error. I am running the workflow logged on as a site collection administrator which is not 1. farm administrator
    or 2. the service ID that I input into the Workflow Manager Configuration Wizard.I also DO have profiles installed, the user running the workflow DOES have a profile and I DO have the App Management service application installed. In addition, I rebooted the
    SharePoint VM after the install
    Given that Workflow Manager, Workflow Manager Client 1.0 and Service Bus 1.0 are all running on the same server as Central Administration (since I only have the one SharePoint VM) perhaps the reference to "SAMEORIGIN" in the error means something?
    I've installed Workflow Manager with the same instructions on other farms in the past and not had this problem and wondering whether the June 2013 CU has introduced this error. . .
    Please help!
    Kathryn
    RequestorId: f17eeb99-00f1-d82f-0000-000000000000.
    Details: An unhandled exception occurred during the execution of the workflow instance.
    Exception details: System.ApplicationException: HTTP 401 {"error_description":"Invalid JWT token. Could not resolve issuer token."} {"x-ms-diagnostics":["3000006;reason=\"Token contains invalid signature.\";category=\"invalid_client\""],"SPRequestGuid":["f17eeb99-00f1-d82f-9859-d5b160369f87"],"request-id":["f17eeb99-00f1-d82f-9859-d5b160369f87"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["4"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["Bearer
    realm=\"2b0ecd05-1b3e-4efd-a346-c7b309bf6fb5\",client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,[email protected]09bf6fb5\"","NTLM"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4517"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Sun, 25 Aug 2013 22:22:02 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    Kathryn Birstein, Senior SharePoint Architect

    Hi,
    Base on the description, an unhandled exception occurred during the execution of the workflow instance.
    I suggest you to use other account to test the workflow. Please make sure you are not using system account. Also please make sure User profile service is running and syncing with active directory. As I've found sometimes workflow tries to read user information
    from user profile service and if the user details missing in User Profile service, the workflow might get failed. The original error is "Token Contains Invalid signature" which means either the user is system account or the user doesn't exists in user profile.
    There is an article about the error message, you can refer to it:
    http://steve.thelineberrys.com/following-sites-across-farms-with-sharepoint-2013-mysites/
    More information:
    Troubleshooting Workflow Manager 1.0 Management and Execution:
    http://msdn.microsoft.com/en-us/library/windowsazure/jj193529(v=azure.10).aspx?ppud=4
    Best Regards, 
    Linda
    Li

  • Workflow Manager 1.0 will install but NOT configure.

    Hello everyone,
         I have successfully installed Workflow Manager 1.0 (and its prerequisites) on my Server 2008 R2 SP1 machine
    that is hosting Sharepoint 2013.  I attempt to go into the Workflow Manager Configuration.  That comes up and asks me if I want to Create new farm with Default Settings, New Farm with custom settings, or existing farm.  I've tried both Default
    settings AND Custom settings.
        When the configuration wizard comes up, I attempt to fill out the necessary information.  It seems to connect
    to the SQL server without a problem.  I only run into an issue when setting the USER ID.  The program totally freezes up and force closes. 
        I have verified that the USERID is in the correct format and tried multiple different formats.  The problem
    is that the moment I move the cursor from the USERID field to ANY other field, the program force closes.  I'm not able to hit submit, I'm not able to change any other options.  The moment USERID is manipulated or the cursor LEAVES the USERID field,
    the program force closes.  It won't even allow me to put in a password before it force closes.
         Customer domain is running in Windows Server 2003 Enterprise Edittion SP2.
    Any ideas?
    Thank you very much!
    I have copied the errors from event viewer below:
    APPLICATION ERROR
    Faulting application name: Microsoft.Workflow.Deployment.ConfigWizard.exe, version: 1.0.20922.0, time stamp: 0x505e1b30
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.17965, time stamp: 0x506dcae6
    Exception code: 0xe0434352
    Fault offset: 0x000000000000bccd
    Faulting process id: 0x17f8
    Faulting application start time: 0x01cddee198ece72e
    Faulting application path: C:\Program Files\Workflow Manager\1.0\Microsoft.Workflow.Deployment.ConfigWizard.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 22ab8b69-4ad5-11e2-af8f-005056965915
    .NET Runtime Error
    Application: Microsoft.Workflow.Deployment.ConfigWizard.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Runtime.InteropServices.COMException
    Stack:
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
       at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
       at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
       at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(System.DirectoryServices.AccountManagement.PrincipalContext, System.Type, System.Nullable`1<System.DirectoryServices.AccountManagement.IdentityType>, System.String,
    System.DateTime)
       at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
       at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsUserValid(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
       at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsDomainUserValid(System.String, System.String)
       at Microsoft.ServiceBus.Commands.Common.ValidateUserAttribute.Validate(System.String)
       at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsViewModel.ValidateDomainUser()
       at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsControl.UserIdTextBox_LostFocus(System.Object, System.Windows.RoutedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
       at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
       at System.Windows.Controls.Primitives.TextBoxBase.OnLostFocus(System.Windows.RoutedEventArgs)
       at System.Windows.UIElement.IsFocused_Changed(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.Controls.TextBox.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
    System.Windows.OperationType)
       at System.Windows.DependencyObject.ClearValueCommon(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata)
       at System.Windows.DependencyObject.ClearValue(System.Windows.DependencyPropertyKey)
       at System.Windows.Input.FocusManager.OnFocusedElementChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
    System.Windows.OperationType)
       at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean)
       at System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)
       at System.Windows.FrameworkElement.OnGotKeyboardFocus(System.Object, System.Windows.Input.KeyboardFocusChangedEventArgs)
       at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
       at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
       at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
       at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32)
       at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean)
       at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement)
       at System.Windows.UIElement.Focus()
       at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.TraversalRequest, System.Windows.Input.ModifierKeys, System.Windows.DependencyObject)
       at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.Key, System.Windows.Input.ModifierKeys)
       at System.Windows.Input.KeyboardNavigation.ProcessInput(System.Windows.Input.InputEventArgs)
       at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(System.Windows.Input.ProcessInputEventHandler, System.Windows.Input.ProcessInputEventArgs)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
       at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawKeyboardActions, Int32, Boolean, Boolean, Int32)
       at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(System.Windows.Interop.MSG ByRef, Boolean ByRef)
       at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(System.Windows.Interop.MSG ByRef, System.Windows.Input.ModifierKeys)
       at System.Windows.Interop.HwndSource.OnPreprocessMessage(System.Object)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
       at System.Windows.Threading.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority, System.Delegate, System.Object)
       at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(System.Windows.Interop.MSG ByRef, Boolean ByRef)
       at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
       at System.Windows.Application.RunInternal(System.Windows.Window)
       at System.Windows.Application.Run()
       at Microsoft.Workflow.Deployment.ConfigWizard.App.Main()

    Hi Scott, 
    Thank you very much.. Now I am able to run wizard.. but at the end of wizard step I am getting below error
    [Info] [1/23/2014 5:48:47 PM]: Endpoint=sb://MSPAPPS.psu.edu.sa/WorkflowDefaultNamespace;StsEndpoint=https://MSPAPPS.psu.edu.sa:9355/WorkflowDefaultNamespace;RuntimePort=9354;ManagementPort=9355
    [Info] [1/23/2014 5:48:47 PM]: Processing completed
    [Verbose] [1/23/2014 5:48:47 PM]: Validating input and configuration parameters.
    [Verbose] [1/23/2014 5:48:49 PM]: Installing auto-generated certificate.
    [Progress] [1/23/2014 5:48:49 PM]: Installing auto-generated certificate.
    [Verbose] [1/23/2014 5:48:51 PM]: Granting 'Log on as Service' privilege to the RunAs account.
    [Progress] [1/23/2014 5:48:51 PM]: Granting 'Log on as Service' privilege to the RunAs account.
    [Verbose] [1/23/2014 5:48:52 PM]: Workflow Manager configuration starting.
    [Progress] [1/23/2014 5:48:52 PM]: Workflow Manager configuration starting.
    [Verbose] [1/23/2014 5:48:55 PM]: Configuring Workflow Manager runtime settings.
    [Progress] [1/23/2014 5:48:55 PM]: Configuring Workflow Manager runtime settings.
    [Error] [1/23/2014 5:48:55 PM]: System.Management.Automation.CmdletInvocationException: The token provider was unable to provide a security token while accessing 'https://mspapps.psu.edu.sa:9355/WorkflowDefaultNamespace/$STS/Windows/'. Token provider returned
    message: 'The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.'. ---> System.UnauthorizedAccessException: The token provider was unable to provide a security token while accessing 'https://mspapps.psu.edu.sa:9355/WorkflowDefaultNamespace/$STS/Windows/'.
    Token provider returned message: 'The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.'. ---> System.IdentityModel.Tokens.SecurityTokenException: The token provider was unable to provide a security
    token while accessing 'https://mspapps.psu.edu.sa:9355/WorkflowDefaultNamespace/$STS/Windows/'. Token provider returned message: 'The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.'. ---> System.Net.WebException:
    The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
       at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.ConnectStream.WriteHeaders(Boolean async)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
       at System.Net.HttpWebRequest.GetRequestStream()
       at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
       --- End of inner exception stack trace ---
       at Microsoft.ServiceBus.TokenProviderHelper.ThrowException(Uri requestUri, WebException exception)
       at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
       at Microsoft.ServiceBus.WindowsTokenProvider.OnBeginGetWebToken(String appliesTo, String action, TimeSpan timeout, AsyncCallback callback, Object state)
       at Microsoft.ServiceBus.TokenProvider.GetWebTokenAsyncResult..ctor(TokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
       at Microsoft.ServiceBus.TokenProvider.BeginGetWebToken(String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
       at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingWebToken(ITokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
       --- End of inner exception stack trace ---
    Server stack trace: 
       at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingWebToken(ITokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
       at Microsoft.ServiceBus.Messaging.HttpWebRequestExtensions.AddAuthorizationHeader(HttpWebRequest request, ITokenProvider tokenProvider, Uri baseAddress, String action)
       at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.GetAsyncResult`1.<GetAsyncSteps>d__11.MoveNext()
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.Start()
    Exception rethrown at [0]: 
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.NamespaceManager.OnEndTopicExists(IAsyncResult result)
       at Microsoft.ServiceBus.NamespaceManager.TopicExists(String path)
       at Microsoft.Workflow.Deployment.Commands.WorkflowServiceConfigHelper.SetWFRuntimeSettings(String resourceDBConnectionString, String config)
       at Microsoft.Workflow.Deployment.Commands.AddWFHost.CallWFRuntimeSettings(Service wfserviceInfo, String unencryptedResourceConnectionString)
       --- End of inner exception stack trace ---
       at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
       at Microsoft.Workflow.Deployment.ConfigWizard.CommandletHelper.InvokePowershell(Command command, Action`3 updateProgress)
       at Microsoft.Workflow.Deployment.ConfigWizard.ProgressPageViewModel.AddWFNode(FarmCreationModel model, Boolean isFirstCommand)

  • Errors when installing Workflow Manager

    I am trying to install WF Manager, but with no success.
    On the same machine, I have installed SQL Server 2014, SharePoint 2013 with SP1 and WF Manager.
    I installed WF manager (account that runs WF manager is sp farm admin) and registered with command
    Register-SPWorkflowService -SPSite "http://dev/" -WorkflowHostUri "http://localhost:12291" -AllowOAuthHttp
    In Central Admin, when I click on "Workflow Service Application Proxy ", I get message that WF is connected. Backend service is running. In SP Designer, I can create 2013 Workflow and publish it, but that WF does not work, it break instantly.
    In SP logs, I get this error when I try to activate feature that contains workflow (solution that contains WF created in Visual Studio):
    http://radioaddictsanonymous.com/view/635399286724222582163282/error-while-deploying-sp2013-workflow-from-vs2012-nullreferenceexception
    So, I deleted WF manager and service bus and reinstalled it, but with no luck. Now backedn service is not working, and I can't start it, getting this error:
    "The Workflow Manager Backend service could not be started  A system error has occurred  System error 1067 has occurred"
    In Event Viewer I have this error:
    https://social.technet.microsoft.com/Forums/office/en-US/de554aed-c9ae-4725-82fa-251446bacc20/workflow-manager-10-sharepoint-2013-the-process-was-terminated-due-to-an-unhandled-exception?forum=sharepointgeneral
    I have tried to reinstall everything couple of times, but it doesn't work. I think that I am not deleting everything related to workflow before reinstallation. How can I unregister already registered WF service and reinstall everything correctly??

    Hi,I had already done disableloopbackcheck and it did not matter.No problem with creating scopes (using powershell) but pairing fails anyway.Here is the config from a local explorer connection to the HTTPS port:(And following it, you may see the result of
    a scope enumerator script)
    <?xml version="1.0"?>
    <ScopeInfo xmlns="http://schemas.microsoft.com/workflow/2012/xaml/activities" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <ChildScopeCount>3</ChildScopeCount>
    <DefaultWorkflowConfiguration/>
    <Description>For / sample only</Description>
    <LastModified>2013-11-08T21:22:00.967</LastModified>
    <LastRevised>2013-11-08T00:04:31.88</LastRevised>
    <Path>/</Path>
    <SecurityConfigurations>
    <ScopedSecurityConfiguration i:type="WindowsSecurityConfiguration">
    <Name>Microsoft.Workflow.Management.Security.WindowsSecurityConfiguration</Name>
    <WorkflowAdminGroupName>altemis\WorkflowAdmins</WorkflowAdminGroupName>
    </ScopedSecurityConfiguration>
    </SecurityConfigurations><
    Status>Active</Status>
    </ScopeInfo>
    PS C:\Shared> C:\Shared\WF Script-Enumaret Scopes.ps1
    Name:
    Path: /
    Status: Active
    User Comments: For / sample only
    Parent: None
    Children: 3
    Exception calling "GetChildScopes" with "0" argument(s): "Scope '/$ChildScopes' was not found.  HTTP headers received from 
    the server - ActivityId: 616224db-0321-450a-92ef-f03384c008a2. NodeId: ALTEMIS-SVR02. Scope: /$ChildScopes. Client 
    ActivityId : 649dba85-dc89-0002-d9bf-9d6489dcce01."
    At C:\Shared\WF Script-Enumaret Scopes.ps1:21 char:9
    +         $manager.GetChildScopes() | % { WriteScopeInfo $scopeUri $_.Path $scope. ...
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ScopeNotFoundException
    Muharrem

  • Pairing Workflow Manager with SharePoint Online

    Hi everyone,
    I found
    this post by Adis Jugo and I wondered if this is (or maybe is planned to be) supported in SharePoint Online?
    I created custom code activity, used it in workflow (sharepoint app) and it works on SP 2013. What I want to do, if it is possible ofc, is to use the same sharepoint app in SP Online.. 
    This is the tutorial which was followed to create Workflow CodeActivity..

    Hi Mahesh,
    According to your description, my understanding is that you got an error when you register workflow manager for SharePoint 2013.
    Firstly, please check whether you install SharePoint Developer tools Preview for VS 12. If yes, please uninstall it , and restart the server, then run Register-SPWorkflowService.
    If this issue still exists, go to Central Administration, and check whether the web application is connected to Workflow service application proxy.
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/dcb16362-d93c-4f05-b0ba-7b4519caa541/sharepoint-2013-workflow-manager-error-when-i-register-workflow-service?forum=sharepointadmin
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f1482967-cd0f-4509-aa85-36ed4ba6e07d/error-during-register-workflow-service-2013?forum=sharepointadmin
    http://sharepointdeal.wordpress.com/2013/07/08/register-spworkflowservice-failed-to-query-the-oauth-s2s-metadata-error/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Informatica Start Workflow failed in Workflow Manager

    Hi,
    I have just completed the installation of oracle BI Apps version 7.9.4 (Chapter 4 & 5 of installtion document). Now I am trying to run workflow using informatica workflow manager and i am getting below error in workflow log.
    It says "Cannot find specified parameter file [opt/oracle/informatica/server/SrcFiles/PLP.PLP_SalesOrderLinesFact_InvoicedQty_Update.txt] for session [PLP_SalesOrderLinesFact_InvoicedQty_Update].]."
    What does this mean? Do i need to perform any post installation steps? If yes, what are those? Were can i find the information on what needs to be done for loading the data?
    Error Log:
    INFO : LM_36435 : (8588|-1567704144) Starting execution of workflow [PLP_SalesOrderLinesFact_InvoicedQty_Update] in folder [PLP] last saved by user [Administrator].
    INFO : LM_36330 [Tue Feb 26 23:46:06 2008] : (8588|-1567704144) Start task instance [Start]: Execution started.
    INFO : LM_36318 [Tue Feb 26 23:46:06 2008] : (8588|-1567704144) Start task instance [Start]: Execution succeeded.
    INFO : LM_36505 : (8588|-1567704144) Link [Start --> PLP_SalesOrderLinesFact_InvoicedQty_Update]: empty expression string, evaluated to TRUE.
    INFO : LM_36330 [Tue Feb 26 23:46:06 2008] : (8588|-1567704144) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: Execution started.
    INFO : LM_36522 : (8588|-1567704144) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: Started DTM process [pid = 9081] for this session instance.
    INFO : TM_6292 : (9081|-1249401152) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: LM_36033 [Connected to repository [Oracle_BI_DW_Base] running on server:port [PUNITP85528D.ad.infosys.com]:[5001] user [Administrator]].
    ERROR : TM_6292 : (9081|-1249401152) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: CMN_1761 [Timestamp Event: [Tue Feb 26 23:46:14 2008]].
    ERROR : TM_6292 : (9081|-1249401152) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: VAR_27015 [Cannot find specified parameter file [/opt/oracle/informatica/server/SrcFiles/PLP.PLP_SalesOrderLinesFact_InvoicedQty_Update.txt] for session [PLP_SalesOrderLinesFact_InvoicedQty_Update].].
    ERROR : TM_6292 : (9081|-1249401152) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: CMN_1761 [Timestamp Event: [Tue Feb 26 23:46:14 2008]].
    ERROR : TM_6292 : (9081|-1249401152) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: TM_6269 [Error: The session cannot open the parameter file.].
    ERROR : TM_6292 : (9081|-1249401152) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: CMN_1761 [Timestamp Event: [Tue Feb 26 23:46:14 2008]].
    ERROR : TM_6292 : (9081|-1249401152) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: TM_6163 [Error initializing variables and parameters for the paritition.].
    ERROR : TM_6292 : (9081|-1249401152) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: CMN_1761 [Timestamp Event: [Tue Feb 26 23:46:14 2008]].
    ERROR : TM_6292 : (9081|-1249401152) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: TM_6226 [ERROR:  Failed to initialize session [PLP_SalesOrderLinesFact_InvoicedQty_Update]].
    ERROR : LM_36320 [Tue Feb 26 23:46:16 2008] : (8588|-1578194000) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update]: Execution failed.
    WARNING : LM_36331 : (8588|-1578194000) Session task instance [PLP_SalesOrderLinesFact_InvoicedQty_Update] failed and its "fail parent if this task fails" setting is turned on. So, Workflow [PLP_SalesOrderLinesFact_InvoicedQty_Update] will be failed.
    ERROR : LM_36320 : (8588|-1578194000) Workflow [PLP_SalesOrderLinesFact_InvoicedQty_Update]: Execution failed.
    Thanks,
    Prasad Narvekar

    Hi Damon,
    I am getting below error in DAC log
    ANOMALY INFO::: Error while evaluating $$LAST_EXTRACT_DATE
    MESSAGE:::No value for @DAC_SOURCE_REFRESH_TIMESTAMP available!
    EXCEPTION CLASS::: com.siebel.analytics.etl.converter.evaluator.EvaluationException
    com.siebel.analytics.etl.converter.evaluator.TimestampEvaluator.evaluate(TimestampEvaluator.java:243)
    com.siebel.analytics.etl.runtime.RuntimeFunctionHelper.getEvaluatedParameters(RuntimeFunctionHelper.java:195)
    com.siebel.etl.engine.core.Session.run(Session.java:2955)
    java.lang.Thread.run(Thread.java:595)
    17828 INFO Sun Mar 02 20:54:23 IST 2008 Error while evaluating $$LAST_EXTRACT_DATE_IN_SQL_FORMAT
    Mar 2, 2008 8:54:23 PM global
    INFO: Error while evaluating $$LAST_EXTRACT_DATE_IN_SQL_FORMAT
    17829 FINEST Sun Mar 02 20:54:23 IST 2008
    ANOMALY INFO::: Error while evaluating $$LAST_EXTRACT_DATE_IN_SQL_FORMAT
    MESSAGE:::No value for @DAC_SOURCE_REFRESH_TIMESTAMP available!
    EXCEPTION CLASS::: com.siebel.analytics.etl.converter.evaluator.EvaluationException
    com.siebel.analytics.etl.converter.evaluator.TimestampEvaluator.evaluate(TimestampEvaluator.java:243)
    com.siebel.analytics.etl.runtime.RuntimeFunctionHelper.getEvaluatedParameters(RuntimeFunctionHelper.java:195)
    com.siebel.etl.engine.core.Session.run(Session.java:2955)
    java.lang.Thread.run(Thread.java:595)
    I have created the custome container and set these values thee. but somehow they are not available for execution plan.
    How do we set this values in custom container?
    Thanks,
    Prasad N.

Maybe you are looking for

  • F4 help for field placed in table control

    Hi, I have place one field in table control.When I call POV for this field and return back , I found no value in that field. Is there any other way like to specify row index of selected field or any thing else? Pls tell me ... Thanks in advance..

  • How to add a new columns in table contorl in standard screen.

    Hi All, I am working on a enhancement for transaction VA01. I have to add few column for tab Additional Data B. In this tab  column are displayed in table control. Now i have to add two more column in table control. Could you please help me to find o

  • Outstanding payment

    Hi, i am very much new to sap.Can any one help to find the the table and field used for outstanding payment of each customer.Thanks in advance

  • Mail showing the same mail messages twice

    i configured my apple mail program a couple weeks ago, and everything was fine. then i look in my verizon email inbox, and now there is 2 of every email. that wasn't there earlier. my other email accounts in apple mail don't have this problem. what a

  • Need help with saving item from combobox to textfile

    Hi all. right now my codes can only save one stock information in the textfile but when I tried to save another stock in the textfile , it overrides the pervious one. So I was wondering which part of my codes should be changed?? DO the following Crea