2
1
0

Hi,

With a simple job controller, we have a step that has an action that is a Groovy service ... is it possible to specify the version of the service to use.  There is a serviceName value that can be set in the job controller JSON; I would also like to set the version number that should be used.

Thanks

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Hi Jamie

      The documentation can be found in Transact Manager Admin 5.1+
      See Core API JavaDoc's ActionDef for serviceVersion and JobTaskAssignService for form version.

      Task Form Version at bottom.

       

       

      1. Jamie Kunkel

        Perfect.  Thanks Larry.

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Hi Jamie,

      Setting a service version in the Job Definition JSON was added in the 5.1.0 release of Transact Manager.

      Transact Manager 5.1.0 Release Notes

      For versions prior the job would use the currently active service version. 

      Cheers

      Larry Bunton

      Avoka Engineering

      1. Jamie Kunkel

        Hi Larry, 

        I should have thought to look in release notes.  Thanks.

        I don't see in the release notes what the new JSON property is called though - is it "versionNumber" or "serviceVersion"?  Or can you point me to updated docs?

        Thanks.

      2. Jamie Kunkel

        Hi Larry,

        Can you tell me the name for the version number that we can now added to job actions?  I've tried the following, as guesses, but they're not working for me (ie: "versionNumber" and "version"):

              "actions": [

                {

                  "name": "EVALUATE_ROUTE",

                  "type": "Job Action",

                  "serviceName": "Credit Card Route Evaluation",

                  "versionNumber": "2",

                  "version": "2"

                }

        I can't find this in docs anywhere.

        Thanks,

        Jamie

      CommentAdd your comment...