Workflow Soluiton

 View Only
  • 1.  Data Persistence Examples?

    Posted Apr 03, 2017 08:45 PM

    Hi all,

    Hopefully a simple question: I'm looking to save and transfer data between Workflow sessions. I understand this principle is called "persistence" in Workflow parlance, but I can find very few references on how to actually implement it, either in documentation or after a search of the forum. I've found the Store Value component and used it to save flat text to XML, which is a decent start, but I'd like to do a lot more than that.

    Does anyone have any guides on, how-tos for, or examples of, data persistence, either using the file system or SQL? Any help would be appreciated.

    DMcG



  • 2.  RE: Data Persistence Examples?
    Best Answer

    Posted Apr 05, 2017 04:48 AM

    Workflow allows you to create a custom class that becomes a Table in SQL.

    It creates components to allow you all the CRUD operations to manage that data.

    New | Integration Library

    Scroll down to AUTHORING

    User Defined Type with DB Mapping (ORM)

    Add | Class

    Give it a name then add all the fields you need. Choose the data types.

    Complete the process.

    You can then add this dll to your Project and use the Components that were generated to perform your CRUD operations.

    You can use an Add Data Element to build up your Class and Mapping components to map the values you need.

    ---

    Text File

    ---

    XML

    ---

    Workflow Videos
    https://www.symantec.com/connect/articles/workflow-videos

    Training Video Sequence for Symantec Workflow
    https://www.symantec.com/connect/articles/training-video-sequence-symantec-workflow

    Check out Andrew's Blog too
    https://atmaworkflow.com/



  • 3.  RE: Data Persistence Examples?

    Posted Apr 13, 2017 05:33 AM

    Thanks so much, that's been enough to get me started!