B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Comments or Annotations in the GPM

    Posted 09/24/20 09:52 AM
    Some of my business processes are getting pretty involved. In other languages I would be using comments like crazy to remind myself later why I coded it that way.

    I don't see how to add comments or annotations in the Graphic Process Modeler (GPM).

    I probably could manually add XML comments in the source, but that would mess up my pretty layout that helps me understand the flow. View -> Auto Layout doesn't help at all.

    Is there a way in the GPM to add comments or annotations?

    ------------------------------
    Patrick Bartkus
    B2Bi 6.0.3
    Primerica
    ------------------------------

    #B2BIntegration
    #SupplyChain


  • 2.  RE: Comments or Annotations in the GPM

    Posted 09/24/20 05:36 PM
    Hi Patrick,

    What i have tried in the past was changing the name of the icon in the GPM to be more descriptive about what you are doing.

    For example, instead of FTP Begin Session Service change the name to TestPartner FTP Begin Session or FTP Client CD Service call it "CD /newfolder".

    For choices, i like to put information from the rule it will reference.

    For example, instead of "Choice" i will put "ListNames/Name>0" to see if there are files after listing.

    In the BPML, this change will be reflected in <operation name>

    ------------------------------
    Matthew Hasselman
    ------------------------------



  • 3.  RE: Comments or Annotations in the GPM

    Posted 09/25/20 04:07 AM
    Hi Patrick.
    Using GPM you can add annotations in each connector into the BP.
    Just need to select the service you want and then, right button and select annotations. A new window is open an you can add all you want.
    Then, when you put the mouse in the service, the annotation is showed.

    Service Menu
    Annotation Window
    text annotations
    Some limitations: This is valid only if you use GPM. If you modify the source directly in the Dashboard, you will lost the annotations.
    file *.bp can be unzipped in two files stercom.bpml and stercom.gpl
    bpml include the source.
    gpl include the code using to connect the services and others, including annotations.

    Best regards,
    Antonio Conde



    ------------------------------
    Antonio Conde
    ------------------------------



  • 4.  RE: Comments or Annotations in the GPM

    Posted 10/04/20 03:55 AM
    Eclipse.. Beginners use GPM :)

    if you want to add comments to BP, you must not use GPM, it removes all the comments from code, If you are really not comfortable with XML, then use GPM to configure the service, then select View->source and copy that XML to Eclipse.


    -Dhiraj Patil

    ------------------------------
    Dhiraj Patil
    ------------------------------