Robotic Process Automation (RPA)

Robotic Process Automation (RPA)

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Using the server Storage Adapter with RPA SaaS within a Workflow.

    Posted 4 days ago
      |   view attached

    Hi

    I'm trying to educate myself on using workflows within RPA - and have been following the sample process in the documentation
    Creating a workflow file and integrating it into a script

    And this all works. But thought I'd enhance this with trying to get the instance information to persist on the SaaS control center. So, as according to the documentation I added the 'Create Storage Adapter (server) to the script and then add the reference to the adapter to the  Load Workflow step. See the wal file in the attached zip.

    Now when it gets to the step to Create Workflow Instance - it fails with:
    WDG.Http.HttpException: An error occurred calling /v1.0/en-US/workflow/storage/instance. Details:
    The entity or complex type 'WDG.Automation.Data.WorkflowInstanceVariableState' cannot be constructed in a LINQ to Entities query.
     ---> System.Exception: Status=InternalServerError. ReasonPhrase=Internal Server Error
       --- End of inner exception stack trace ---
       at WDG.Http.HttpClientExtensions.<ThrowWhenUnsuccessful>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at WDG.Automation.Api.V10.WorkflowStorageService.<WDG-Automation-Api-IWorkflowStorageService-CreateInstance>d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at WDG.Automation.Base.ServerWorkflowInstanceStorage.<Create>d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at WDG.Workflow.Storage.WorkflowStorage`1.<LoadOrCreate>d__57.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at WDG.Automation.Runtime.WorkflowVariant.<LoadOrCreateInstance>d__69.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at WDG.Automation.Base.CreateWorkflowInstanceCommand.<Execute>d__21.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()

    Is anyone able to explain what the issue is here? Am I doing something wrong?



    ------------------------------
    Richard Aitchison
    ------------------------------

    Attachment(s)

    zip
    helloworld.zip   1 KB 1 version


  • 2.  RE: Using the server Storage Adapter with RPA SaaS within a Workflow.

    Posted 3 days ago

    Hi, it is quite likely that this is a bug.
    It would be best to open a case for investigation and fix.



    ------------------------------
    Tarcio Alonso Mota
    Sr. Software Developer
    IBM
    Santos
    ------------------------------