Consuming a Microsoft Workflow from flex 3

Hello, can it be done?
I'm developing a Flex 3 application and trying to consume a Microsoft workflow. But it's working just the first time. When I'm trying to consume the service a second time, I get a error saying the host cannot be found.
I know flex use a soap 1.0 communication protocol, and Microsoft  wwf 1.5.
If this is not posible, then a good recomendation will be apreciated.
Can somebody help me with this, please. Thx

Here is the solution:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
        <mx:WipeLeft duration="500" id="wipeLeft"/>
        <mx:WipeRight duration="500" id="wipeRight"/>   
    </fx:Declarations>
    <s:VGroup>
        <mx:LinkBar dataProvider="viewStack"/>
        <mx:ViewStack height="200" width="300" id="viewStack">
            <mx:VBox showEffect="{wipeRight}" hideEffect="{wipeLeft}" backgroundAlpha="1" backgroundColor="#FF0000" label="Screen One">
            </mx:VBox>
            <mx:VBox showEffect="{wipeRight}" hideEffect="{wipeLeft}" backgroundColor="#00FF00" label="Screen Two">
            </mx:VBox>
            <mx:VBox showEffect="{wipeRight}" hideEffect="{wipeLeft}" backgroundColor="#0000FF" label="Screen Three">
            </mx:VBox>
        </mx:ViewStack>
    </s:VGroup>
</s:Application>
Johnny
Please rate answers

Similar Messages

  • Consuming Webservice in ESB from Flex

    First thing I would suggest is getting rid of the MXML tags and use the all actionscript method shown on my blog post, SAP Web Services in Flex Builder(http://blog.danmcweeney.com/57) [http://blog.danmcweeney.com/57].  This will make it easier to tell if you are having issues loading the WSDL or in crafting a correct SOAP request to the server.
    Also, please check that you can get to the WSDL in a browser and that it does not contain any Policy tags.
    -d
    Edited by: Daniel McWeeney on Aug 13, 2008 9:49 AM

    >
    Sridhar Kannepalli wrote:
    >Can you give any hint on how data should be sent to ABAP proxies?
    >
    I doubt there is any different in the approach for XI web services or ones generated from the Web Application server, I mean that is the point of SOAP right?
    >
    Sridhar Kannepalli wrote:
    > My system (where my Flex application is present), the XI system (where the web service lies) and the SAP system (in which the proxy is present) all are in same domain (say.......xyz.com)
    >
    Flex has no clue about what is "behind" the web service.  The crossdomain.xml only matters in regards to where the Flex SWF is being served from and where it calls web services from.
    Was the Flex App able to load the WSDL like my example?
    If so, can you create a XI web service that doesn't take an importing parameters and try and call that?
    Can you post the WSDL here so we can see it, to see if the XI server creates anything different?
    -d

  • Missing Workflow XAML Feature Error during site creation from custom template Microsoft.Workflow.Client.ActivityNotFoundException

    Hi,
    I am using SharePoint 2013 Enterprise with the March CU.
    I created a project site template with libraries, lists and workflows and saved it as a template with content.  When I try to create a new site using this template, I get the error pasted at the bottom.
    I was using SharePoint designer workflow custom activities created in VS2012. I uninstalled those and decided to call a web service directly from SharePoint designer.  The workflows work fine inside of the site which I want to create a project template
    from.  When creating a new site from the template, SharePoint complains about a missing workflow XAML feature.
    Do I have some leftover references to the custom features? Does anyone know how to resolve this issue?
    <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c'
    was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f 
      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
     Exception Details: System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e'
    from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c.
    Client ActivityId : 69e6449c-9c3c-f090-404f
    Source Error: 
     An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
    Stack Trace: 
    [COMException (0x8107058a): <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c'
    was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f]
       Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId) +0
       Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId) +293
    [SPException: Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found.
    HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f]
       Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) +146
       Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId) +889
       Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)
    +928
       Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) +532
       Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPWeb Web, String strWebTemplate, Nullable`1 bSharedNav, Boolean bOnTopNav, Boolean bOnQuickLaunch, Page page, Boolean bDeleteOnError, SPFeatureDependencyErrorBehavior
    featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) +2076
       Microsoft.SharePoint.ApplicationPages.NewSubwebPage.BtnCreateSubweb_Click(Object sender, EventArgs e) +861
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +146
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3586
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045  

    Hi  Jerry Choinski,
    For your error, It could possibly have something to do with that the workflow did not publish before saving your project site as a template.
    The "Elements.xml" file, which is packaged within the "wsp" solution file contains 2 "<File" elements. One file element represents the XAML file, and the other
    represents the WF association file. If the WSPublishState value for each "<File" element differ (one has a value of "3" and the other a value of "1"), the error will occur. For solving your problem, please update the WSPublishState value for both "<File"
    elements to “3”.
    PropertyName="WSPublishState"
    Value="3"
    Also note that the WSPublishState property is also duplicated within the "MetaInfo" property, so both occurrences should be updated. Then the resulting files need
    to be re-packaged into the template.
    Reference :
    http://social.technet.microsoft.com/Forums/en-us/be41f1c5-1dfb-4869-9a52-1c93902bfd91/microsoftworkflowclientactivitynotfoundexception-when-deploying-solution-with-workflow
    Please inform me freely if you have any questions.
    Thanks

  • Sharepoint 2013: Workflow Error , while trying to publish a Sharepoint 2013 Workflow, from the Sharepoint Designer 2013

    I don't know what might be wrong but I have tried everything possible I suppose. 
    Configuration: 1 App Server SharePoint Standard 2013 + SQL Server. On App Server, I have installed Workflow Manager as well.
    Installed Sharepoint Designer 2013 on my laptop. 
    Before I was able to publish the workflows, but now it refuses, thwroing me the following error:
    System.InvalidOperationException: Operation failed with error Microsoft.Workflow.Client.WorkflowCommunicationException: The request was aborted: The request was canceled. Client ActivityId : ac85cf9c-053a-e0db-1f47-608050559d31. ---> System.Net.WebException:
    The request was aborted: The request was canceled. ---> System.ServiceModel.CommunicationException: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d). ---> System.IO.PipeException: There was an error reading from
    What I have tried so far:
    a. Re-installed Workflow, Service Bus, Windows Fabric, Sharepoint Designer... no luck
    b. Run the configuration script... -Force enabled... no luck
    c. Remove WF Manager, SB, etc... Deleted all WF and sb Databases from SQL, and re-installed all icluding updates... no luck
    d. Tried to run services using Farm account, still no luck.
    e. All services on the Server are running as well
    f. The workflow is checked that it is associated with the site collection.
    I don't know what else to try... seems like I am experiencing unique issue here... please help!

    One last thing I can suggest - In case if you have installed CU Update for WF manager 1.0 and service bus. Some time that creates problem, [Please take backup before make any changes] -
    - Clear everything, WF config , SharePoint WF setting, un register WF from SP , You can delete and recreate WF service Apps
    - IISreset at WF and SP server
    - Uninstall CU update for Workflow manager 1.0 and Service Bus from WF server [Control Panel - Programs - Update], you can delete all update installed
    - ReStart WF server
    - Reconfigure WF manager , Test WF sites , should return XML
    Get-WFFarm | ft HttpPort
    - Reconfigure WF at SP , Make sure should have enough free memory
    Register-SPWorkflowService –SPSite "http://SPsite/" –WorkflowHostUri "http://WFServer:12291" –AllowOAuthHttp
    http or https , depend on your configuration
    And retest from SPD again.
    Good luck:)
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Error: Microsoft.Workflow.Client.ActivityNotFoundException while deploying VS 2012 Workflow

    HI,
    I am trying to create a VS 2012 based SharePoint 2013 workflow.
    I added the workflow option. Under the sequence, i added a writetoHistory - "Started".
    I tried to deploy the workflow. I am getting the below error:
    Error 1: Error occurred in deployment step 'Activate Features': Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_Guid from scope '/SharePoint/default/guid/guid' was not found. HTTP headers received from the
    server -
    ActivityId: guid.
    NodeId: system Id.
    Scope: /SharePoint/default/guid/guid.
    Client ActivityId : 6b4be0b6-8569-4e20-  0 0 SharePointProject1
    In the elements.xml of the workflow, I can see the below:
    <Module Name="Workflow1" Url="wfsvc/guid">
    <File Url="Workflow.xaml" Type="GhostableInLibrary" Path="Workflow1\Workflow.xaml" DoGUIDFixUp="TRUE">
    <Property Name="ContentType" Value="WorkflowServiceDefinition" />
    <Property Name="isReusable" Value="true" />
    <Property Name="RequiresInitiationForm" Value="False" />
    <Property Name="RequiresAssociationForm" Value="False" />
    <Property Name="WSPublishState" Value="3" />
    <Property Name="WSDisplayName" Value="Workflow1" />
    <Property Name="WSDescription" Value="My 'Workflow1' Workflow" />
    <!-- If you change the name or Url of your custom initiation or association form,
    remember to update the corresponding property value (InitiationUrl or AssociationUrl) to match the new web relative url.
    -->
    <Property Name="RestrictToType" Value="List" />
    <Property Name="RestrictToScope" Value="{$ListId:Lists/TestList;}" />
    </File>
    How to fix this?
    Thanks

    Hi,
    We can do as follows:
    1. Please check whether the workflow manager is working. We can create a basic custom workflow with SharePoint Designer 2013 and see if it works.
    http://technet.microsoft.com/en-us/library/jj663115.aspx
    2. The following similar threads for you to check it.
    http://social.technet.microsoft.com/Forums/en-US/251a7977-13ba-4568-932d-eed55d5c2bfc/missing-workflow-xaml-feature-error-during-site-creation-from-custom-template?forum=sharepointadmin
    http://social.technet.microsoft.com/Forums/en-US/0c470b4b-8e32-47ab-bc29-409db01dce81/unable-to-activate-the-workflow-feature-in-sharepoint-2013?forum=sharepointcustomization
    More information:
    Develop SharePoint 2013 workflows using Visual Studio
    http://msdn.microsoft.com/en-us/library/jj163199%28v=office.15%29
    Walkthrough: Creating and Debugging a SharePoint Workflow Solution
    http://msdn.microsoft.com/en-us/library/ee231573(v=vs.110).aspx
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • ERROR Consuming external Web Services from JDE E1

    Hello everybody,
    I am trying to consume external web services from JD Edwards Enterprise One. For that, I have followed "Consuming External Web Services Tutorial".
    I have followed all the steps successfully, but when the final test called from an interactive application to the business function that I had created in C get the following error messages in the log file:
    [WARN ] JDE - [RUNTIME] *ERROR CallObject@13d346d: CallObject.executeRequest(): Problem executing function [consumingWS] lib [CALLBSFN] GetProcAddress failed. Please see Enterprise Server log for details. Business function cannot be found user:JDE Env:DV900*
    [SEVERE] JDE - [RUNTIME] FormEngine.doEvent(): BSFN failed and need roll back!! | Form Name : P5500055_W5500055A com.jdedwards.runtime.base.SystemException: There was a problem with the sever while running the business function consumingWs.\nThe current transaction has been lost.\nPlease exit the application and restart it.\nButton clicked Line number 1\nP5500055_W5500055A
    com.jdedwards.runtime.base.SystemException: There was a problem with the sever while running the business function consumingWs.\nThe current transaction has been lost.\nPlease exit the application and restart it.\nButton clicked Line number 1\nP5500055_W5500055A
    at com.jdedwards.runtime.engine.form.FormEngine.doEvent(Unknown Source)
    at com.jdedwards.runtime.vtcomponent.form.VTForm.doEvent(Unknown Source)
    at com.jdedwards.runtime.engine.ButtonEngine.onClick(Unknown Source)
    at com.jdedwards.runtime.vtcomponent.VTButton.onClick(Unknown Source)
    at com.jdedwards.runtime.vtcomponent.VTButton.processVirtualEvent(Unknown Source)
    at com.jdedwards.runtime.virtual.OWVirtual.processVTEvent(Unknown Source)
    at com.jdedwards.runtime.virtual.OWVirtual.processEventLoop(Unknown Source)
    at com.jdedwards.runtime.virtual.OWVirtual.run(Unknown Source)
    at com.jdedwards.base.util.ThreadPool$WorkerThread.run(Unknown Source)
    I have tested:
    1) Incorrect OCM for BSFNs.
    Mapped to development Enterprise Server, so it was failing to find the BSFN.
    2) Increase heap space for Java.
    3) Business Function Location (C/S): "Both Client & Server Function"
    4) Link the Business function with its parent DLL (CALLBSFN.dll)
    I'm not sure I'd done well...
    5) Update Package
    From Buildlog.txt I can see the following error:
    Copying \\ORACLE-JDE\E900\DV900\package\DV900FB\lib32\sCALLBSF.lib to \\ORACLE-JDE\E900\DV900\package\DVU100427\lib32\sCALLBSF.lib
    Copying \\ORACLE-JDE\E900\DV900\package\DV900FB\work\jdertdll.c to \\ORACLE-JDE\E900\DV900\package\DVU100427\work\jdertdll.c
    Generating Makefile: E:\e900\DV900\obj\CALLBSFN.mak
    B5500055 : Not checked into pathcode, excluded from the build
    .Makefile generated.
    Building business functions.
    ************CALLBSFN************
    jdertdll.c
    Creating library \\ORACLE-JDE\E900\DV900\package\DVU100427\lib32\CALLBSFN.lib and object \\ORACLE-JDE\E900\DV900\package\DVU100427\lib32\CALLBSFN.exp
    CALLBSFN.exp : error LNK2001: unresolved external symbol _consumingWS@12
    \\ORACLE-JDE\E900\DV900\package\DVU100427\bin32\CALLBSFN.dll : warning LNK4088: image being generated due to /FORCE option; image may not run
    To not build the business function is not possible the package deployment for the server becomes aware of the presence of this business function...
    But I have not managed to solve the problem, do you have any idea?
    Thank you and regards.

    Hello again,
    I have modied OCM record with a correct BSSV (the name and the port number were wrong).
    And other thing that I have tested is change the parent DLL with a new DLL created by me (Object Name: CALLWS.dll, Product Code: 0, Product System Code:0) and the error is:
    *ERROR CallObject@25b780: CallObject.executeRequest(): Problem executing function [invocarWS] lib [CALLWS] LoadLib failed.Please see Enterprise Server log for details. Library in which business funtion resides cannot be loaded user:JDE Env:DV900*
    [SEVERE] JDE - [RUNTIME] FormEngine.doEvent(): BSFN failed and need roll back!! | Form Name : P5500055_W5500055A com.jdedwards.runtime.base.SystemException: There was a problem with the sever while running the business function invocarWS.\nThe current transaction has been lost.\nPlease exit the application and restart it.\nButton clicked Line number 1\nP5500055_W5500055A
    com.jdedwards.runtime.base.SystemException: There was a problem with the sever while running the business function invocarWS.\nThe current transaction has been lost.\nPlease exit the application and restart it.\nButton clicked Line number 1\nP5500055_W5500055A
         at com.jdedwards.runtime.engine.form.FormEngine.doEvent(Unknown Source)
         at com.jdedwards.runtime.vtcomponent.form.VTForm.doEvent(Unknown Source)
         at com.jdedwards.runtime.engine.ButtonEngine.onClick(Unknown Source)
         at com.jdedwards.runtime.vtcomponent.VTButton.onClick(Unknown Source)
         at com.jdedwards.runtime.vtcomponent.VTButton.processVirtualEvent(Unknown Source)
         at com.jdedwards.runtime.virtual.OWVirtual.processVTEvent(Unknown Source)
         at com.jdedwards.runtime.virtual.OWVirtual.processEventLoop(Unknown Source)
         at com.jdedwards.runtime.virtual.OWVirtual.run(Unknown Source)
         at com.jdedwards.base.util.ThreadPool$WorkerThread.run(Unknown Source)
    It seems like it is not possible to find the CALLWS dll... Althought it was built and compiled without errors and warnings...
    I would like to debug the Business Function in C from Microsoft Visual Studio 2005, but I can't, because breakpoints are disable.
    I have followed the following manual:
    E1: BSFN: Debugging Business Functions Using Visual Studio .NET 2003, 2005 and 2008 (I have founded it in Oracle Support (Metalinki)).
    And here they say:
    "It is a normal feature of visual studio 2003/2005 to disable break point at the start of a debug session and display a warning saying no symbol is loaded. Break point will only be activated on demand when the code to debug is loaded in to the runtime memory".
    I think is necessary add the referency with parent DLL (in my case, CALLWS.dll) but I don't know how can I do it. I have tested to insert in Business Function's source code the following line:
    "#pragma comment(lib,"CALLWS.dll")" to force to include it, but when it was built:
    ************CALLWS************
    B5500055.c
    Replacing B5500055.obj
    jdertdll.c
    Creating library E:\e900\DV900\lib32\CALLWS.lib and object E:\e900\DV900\lib32\CALLWS.exp
    LINK : fatal error LNK1104: cannot open file 'CALLWS.dll'
    Microsoft (R) Manifest Tool version 5.2.3790.2075
    Copyright (c) Microsoft Corporation 2005.
    All rights reserved.
    mt.exe : general error c10100b1: Failed to load file "E:\e900\DV900\bin32\CALLWS.dll". The system cannot find the file specified.
    Adjusting DLL load addresses . . .
    ************Build Finished************
    I don't understand nothing, because the path is totally right.
    Any help is appreciated!
    Thank you and regards.
    Edited by: user12085357 on 29-abr-2010 2:55
    Edited by: user12085357 on 29-abr-2010 3:02

  • No way to publish a workflow, I get this error: System.InvalidOperationException: Operation failed with error Microsoft.Workflow.Client.ScopeInactiveException: Scope ... is not in an active state. Its current state is 'Unregistering'

    Hi,
    I'm using Project Server 2013 and I'm not able to publish a workflow in SharePoint Designer 2013, I get this error:
    System.InvalidOperationException: Operation failed with error Microsoft.Workflow.Client.ScopeInactiveException: Scope '/SharePoint/default/d7feb9ea-ccb2-4ec3-8f89-2a45b6cf3777' is not in an active state. Its current
    state is 'Unregistering'. HTTP headers received from the server - ActivityId: c47ef567-8c54-4ae0-9a1a-1e4fb51320d8. NodeId: TestServer. Scope: /SharePoint/default/d7feb9ea-ccb2-4ec3-8f89-2a45b6cf3777. Client ActivityId : c6e5979c-20f8-e042-1f9d-2cb2a25d7f9e.
    ---> System.Net.WebExceptio
    The thing is that I transferred the databases from a Prod.Env. to the Test Env. and from that moment on the Test Env. stopped working (only workflows), then I
    was thinking that maybe the workflow is not working in the Test Environment because when I transferred the databases from Prod Env to Test Env I didn’t transfer the databases related to workflow, I only transferred:
    WSS_Content
    PWA_ServiceDB
    But I didn’t transfer:
    SBGatewayDatabase
    SBManagementDB
    SBMessageContainer01
    WFInstanceManagementDB
    WFManagementDB
    WFResourceManagementDB
    I didn’t transfer them because, before, when I transferred DB’s in version 2010, these DB’s were not needed, as the workflows were done using another method.
    So, I tried to create a new workflow in the Test Env. but there is no way, I always get that error.
    I've tried to Register again the workflow, and the result looks ok, but it doesn't solve the problem:
    Register-SPWorkflowService
    –SPSite "http://whatever/PWA"
    –WorkflowHostUri "http://TestServer:12291"
    –AllowOAuthHttp -Force
    Do you know how to solve this issue or have an idea to give me some light?
    Thank you for your help and regards,
    José Espases

    Looks like you haven't defined the WF scope or the site where you are trying to deploy the workflow to isn't included in the scope
    Check this article
    http://fangdahai.blogspot.in/2013/04/on-premise-windows-workflow-server.html
    Thanks | epmXperts | http://epmxperts.wordpress.com

  • 2013 Workflows - Trigger a workflow from a Content Type

    So now that a workflow cannot be triggered from a Content Type, how are people doing this now? 
    Any suggestions appreciated.
    Thanks
    J Sykes

    Hi,
    According to your description, my understanding is that you want to trigger a workflow from a Content Type.
    As we all know, we can attach a workflow to a Content Type, but the workflow cannot run until the Content Type is added to a list or library.
    The elements of a list content type include the columns of metadata that are associated with the content type and workflows that can run on items of that content type.
    More information about the content type and workflow are provided in the link below:
    http://technet.microsoft.com/en-us/library/cc262735.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Workflow; from (illustrator) design to Flash Builder (with no room for interpretation)

    Dear all,
    A couple of years ago, we've made quite a bold move to start developing a large ERP application using Flex. The workflow was straight forward; functional and graphic designs were developed almost simultaneously (using Illustrator for the graphic part) and subsequently Catalyst would be used to convert the illustrator designs to usable code in Flash Builder.
    Since Catalyst has been discontinued, we've been dealing with a real gap which is recently been widened due to the fact we've started using later versions (Adobe CC). Thus, we are in need of some advice. We need solutions to move from an illustrator design to flash builder without our developers having to execute design tasks or interpret designs while coding. Basically my questions are as follows:
    - How do I get .ai files over to Fb leaving no room for interpretation (dimensions, colors, gradients, blends, padding, etc)?
    - What is the best flow in case we want to also add some interactivity / animation to our designs without having to dive into the code, in order to convey our ideas to our developers?
    I have browsed forums and watched several training videos, but all I can find are workflows from design to web. Surely, you guys can help me out!
    Thanks,
    David

    Watch the Online Video Course Flex 4.5 and PHP: Creating Data-Driven Applications

  • How to export 2013 workflows from SPD 2013 to Visio?

    I have performed a number of searches and reviewed a number of published Microsoft articles and blog posts on Workflows and Visio and transfering workflows between these.  Curiously, though I have found plenty of Microsoft articles that discuss transfering
    2010 workflows between SPD and Visio, the only Microsoft articles I could find that relate to this topic discuss
    exporting from Visio to SPD only and not importing from SPD to Visio.  Given the apparant absence here, I'm wondering if Microsoft left out the capability of transfering 2013 workflows from SPD to Visio?

    Hi,
    You can import the SPD workflow to Visio 2013 Premium.  Please refer to the article.
    http://msdn.microsoft.com/en-us/library/office/jj900126(v=office.15).aspx
    Export a workflow to Visio
    Once you have created or edited a workflow in SharePoint Designer 2013, you can export the workflow as a Visio drawing that can be opened in Visio Professional 2013. The ability to export a workflow back to Visio after it has been edited in SharePoint Designer—also
    known as "round-tripping"—enables deeper collaboration between business users and workflow designers. When you iterate the workflow design in this way, you can use Visio to define the business requirements and then use round-tripping to coordinate
    and approve changes.
    Note
    Visio Professional 2013 does not support steps. Step information that has been added in SharePoint Designer may be lost when the workflow is viewed in Visio and then re-imported into
    SharePoint Designer.
    To export a workflow, do the following:
    In SharePoint Designer 2013, click Workflows in the Navigation pane.
    On the Workflow tab, in the Manage group, click Export to Visio.
    In the Export Workflow to Visio Drawing dialog box, name the file, select a location, and then click Save. The exported file is saved as a .vwi file that can be opened
    directly in Visio Premium 2013.
    Please mark it answered, if your problem resolved or helpful.

  • Invoking Custom BPEL Workflow from ContentDB DocumentReviewWorkflow

    Hi,
    I am trying to invoke Custom BPEL Workflow from Contentdb.
    I can see TaskActionHandler and DocumentReviewWorkflow instance created in BPEL using BPELConsole. This workflow is waiting for approval.
    When I am login to worklist application I can not see task assign to me.
    Also I can see from database that Messages not read by BPEL Process Manager.i.e I can see rows in IFS_BPEL_OUT_TABLE
    After restarting BPEL P.M those data is still there.
    How to resolve this?
    Thanks,
    Jigar

    Jigar
    This sounds like two separate issues with the 10.1.2.0.2 BPEL PM.
    First, I had a problem with the BPEL process manager not consuming the AQ messages sitting in the IFSQUEUE. In order to consume the messages, I had to redeploy the BPEL process. This sounds like your first issue.
    The second issue is the case sensitivity within the worklist application. There is a patch for this #4962149. The patch did not work entirely for our environment and I opened up a separate bug but there was never a fix supplied by the development group.
    Good luck.
    Nick

  • How to receive message from flex client

    From the sample 'testdrive-datapush', I know how to receive message from backend(java) to flex client.
    Now, I want to know how to receive message from flex client to backend.
    I tried to find it in http://livedocs.adobe.com/blazeds/1/javadoc/.
    but I failed.
    Do you guys know the solution?

    Alex mentioned a solution in another thread.
    http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=messaging_config_3. html#256378
    [quote]
    Using a JMSConsumer object instead of the JMS adapter
    You use a JMSConsumer to listen for JMS messages without relying on the JMS adapter. Customer code is responsible from receiving JMS messages, converting them to Flex messages and using BlazeDS APIs to pass the message to Flex clients.
    In the following code example, a bootstrap service is used to create a JMSConsumer object when the server starts. When a JMS message is received, it is printed (rather than converting it to a Flex message and handing it to BlazeDS). For different workflows, a RemoteObject could be used to create JMSConsumer objects.
    [/quote]
    Do you know where is the code example?

  • Passing null/empty values from Flex to a Coldfusion ORM object

    This is the situation.
    If you have an actionscript VO that binds to a Coldfusion ORM object via the RemoteClass metadata and some of the values are not set, null, or empty strings and you pass it from Flex to Coldfusion then the Coldfusion deserialization barfs saying the values are not acceptable date values (for type="date") or valid emails (for validation="email") or other such validations, even if required="false" on the property.
    For instance, if you have the following actionscript VO:
    package vo
        [RemoteClass(alias="com.companyname.Person")]
        [Bindable]
        public class Person
            public var person_id:Number;
            public var last_name:String;
            public var first_name:String;
            public var email:String;
            public var created_date:date;
         public function Person() {}
    And you have the corresponding Coldfusion component:
    <cfcomponent displayname="person" output="false"
        alias="com.companyname.Person"
        schema="dbo" persistent="true"
        table="PERSON">
        <cfproperty name="person_id" type="numeric" fieldtype="id" validate="integer" required="true" column="PERSON_ID"/>
        <cfproperty name="last_name" type="string" column="LAST_NAME" required="true"/>
        <cfproperty name="first_name" type="string" required="true" column="FIRST_NAME"/>
        <cfproperty name="email" type="string" validate="email" required="false" column="EMAIL"/>
        <cfproperty name="date_created" type="date" required="false" column="DATE_CREATED"/>
    </cfcomponent>
    Then if you pass the actionscript VO as is to Coldfusion, the deserialization complains that you do not have a valid email or a valid date for date_created.  This is bad, bad, bad.  Essentially if you have a validation of certain types (email being one) or a date property, or probably some other cases, then you essentially can not make it not required, it automatically makes it required because the Coldfusion serializer considers null/empty values as invalid dates or emails.  But the serializer should not care for values that are not required, there has to be a way to pass null/empty values to these data types, but apparently there's not.  If you pass an empty string ("") you still have the same problem.  I know Coldfusion does not have null values, but there has to be a way to do this, otherwise it defeats the purpose of having required="false" and some kind of validation on the property.
    There seems to be two ways around it.  One is to override the implicit setters for the properties on the Coldfusion side and check for 0 length values yourself, then set the property if it is not, or create your own validation routine.  I ended up creating my own validation function since I didn't want to have to write a setter function for everyone of these cases and I can pass back user friendly validation messages.
    Have other people encountered this problem?  How have you gotten around it?  Thanks.

    Looks like a known workaround to this issue is to wrap the Flex object in an array.
    The ColdFusion CFC will accept that as an array, with the first an only element being a struct, which is the object you built in Flex.

  • How to get Checkbox Value from Flex in PHP.

    Hi,
    I need to know how to get a checkbox value from flex in PHP-POST/GET because I don't know what is the value property of a checkbox in flex.
    Please Help.

    Hi,
    It is very simple. Follow the steps below to achieve the solution,
    1. Write a check-box change event to capture the value of the check box. Store this value in a variable(say bolChkSelected:Boolean).
    2. In step 1 you got the value of the check box. Now your aim is to send the value to php. Declare a httpService in your flex application(i think you are aware of using it).Ok..im writing it
    <mx:HTTPService id="sampleService" resultFormat='e4x' url='http://yourdomain/file.php' result='handleResult()' fault='handleFault()'>
    </mx:HTTPService>
    3. Now the actual solution... u need to send the shcStatus in to php..
    Declare an object to hold the data
    var objparameters:Object={};
    objparameters['CheckBoxdata'] = bolChkSelected;
    --in the above line... 'CheckBoxdata' is used as a parameter to php..you shud have the same variable name while accessing in php file also..
    in php file..
    checkboxstatus = $_POST[''CheckBoxdata''];
    echo checkboxstatus
    thats it..

  • Login to WebApi (MVC + WebApi) with Microsoft Account from Windows Store App

    Hi
    How can I access a WebApi Controller (ASP.NET MVC+WebApi) that is secured with Microsoft Account from a Windows Store App?
    I have no idea how to login. I tried the LiveSDK but this gives me only access to OneDrive, Callender and so on.
    Could someone please point me in the right direction.
    Thanks
    Guenter

    Hi Guenter,
    To be clear, you are using Microsoft account as login and at same time you have your own REST service for other functionalities?
    Let's say if you login with LiveSDk, you should be able to get some access token, see this for more information:
    Signing users in, after that use the token to access your REST service, as I understand REST service is a kind of http request, we can use HTTPClient to request data from the address.
    I'm afraid there is no existing sample here but the only thing I found is HTTPClient sample:
    https://code.msdn.microsoft.com/windowsapps/HttpClient-sample-55700664, you can use POST to send your token information to the server.
    --James
    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.

Maybe you are looking for

  • IPad 2 not accepting my apple id after update to iOS5

    So I updated my ipad 2 to iOS5. After it's all done, there's sort of a step by step process before it takes you to the regular interface. After a couple of questions, it asks me for my apple id and password. I give input the info and hit next. On the

  • Safari Bookmarks were automatically restored after Disk Reformat and OS X Mountain Lion re-installation

    Hi to All, I was just wondering how my Safari Bookmarks were auto restored after I performed a Disk Erase/Reformat, and re-installed from scratch my OS X Mountain Lion. After my login into the new reformatted OS X Mountain Lion Disk, I noticed my old

  • Opening an asset in back date

    Dear All:               My question is regarding opening asset master data through AS01. When we open an asset it is saved with current date. But what if we want to open it in back date. let us say today is 2nd july 2010 but i want to open an asset b

  • Is it possible to use BlackBerry ID on 8520?

    Hi there. Is there any way for BB 8520 (gemini) to transfer BBM contacts via BBM ID? Not by backup and restore from BB desktop software (using desktop software will make all bbm contacts to be re-invited and need to accepted again to be in contacts).

  • Dreamweaver/ php recordsets

    Hello, I have a query which find featured products from the database. There are three in total. These products are then displayed in little boxes on the site, each with a different background colour. Usually, I would just repeat the region to show ea