Services triggered - before and After values

 5 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
JasonP
Advanced Member
Posts: 28
Advanced Member

    In landmark, I have a service that is hooked to a form. When the form get a change event, it fires off my service and creates a work unit.  The work unit has all the variables readily available except whats being changed anotherwards the previous value.  Is there a way to access this information also not from a custom form?

    Woozy
    Veteran Member
    Posts: 709
    Veteran Member
      Hi JasonP,

      So is this an ActionRequest form that is being triggered? If it is, then this post discusses this exact issue. https://www.lawsonguru.co...t/19761/Default.aspx


      The details are in the post dated 01/09/2017 at 3:46 AM

      Good Luck.
      Kelly

       

      (NOTE:  fixed link)

      Kelly Meade
      J. R. Simplot Company
      Boise, ID
      Greg Moeller
      Veteran Member
      Posts: 1498
      Veteran Member
        FYI-
        Kelly: I get a dns error when I click your link to the exact issue.
        Woozy
        Veteran Member
        Posts: 709
        Veteran Member

          Oops- thanks Greg.  Here's the correct link.

          https://www.lawsonguru.co...t/19761/Default.aspx

          Kelly Meade
          J. R. Simplot Company
          Boise, ID
          JasonP
          Advanced Member
          Posts: 28
          Advanced Member
            I have a service def Gen_ICLoc that fires everytime an update is made to IC02.  Here is a workunit that gets created.  I have a simple IPA hooked to this event that just send me an email.  I have 108 variables available to me to use in the IPA as you can see below indicated on the variables tab.  However, the 108 variables, none of them are the previous value.  I will read through that post, maybe I should be doing this a different way, but this is on the s3 side.
            Woozy
            Veteran Member
            Posts: 709
            Veteran Member
              Hi JasonP - I didn't realize this was on the S3 side, so the post I provided really won't help you. I have much more experience on the Landmark side.

              Hopefully one of the LSF/S3 experts will chime in, but my best guess is that you would have to do an S3 DME query against the IC02 history (if there is such a thing) to find the previous values.

              I hope you find an answer.
              Kelly
              Kelly Meade
              J. R. Simplot Company
              Boise, ID