Method Community

 

Why don't I get a Session.Screen Active RecordID after a SAVE action

Last post 06-08-2015 4:16 PM by mahlonf. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 06-05-2015 1:50 PM

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Why don't I get a Session.Screen Active RecordID after a SAVE action

    I have some actions depending on Session Active Record ID, but it seems they are firing before the screen gets a record ID

    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
  • 06-05-2015 1:53 PM In reply to

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Re: Why don't I get a Session.Screen Active RecordID after a SAVE action

    Just get this

    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
  • 06-05-2015 3:19 PM In reply to

    Re: Why don't I get a Session.Screen Active RecordID after a SAVE action

    Hi Mahlon,

    Can you try adding a button for displaying this variable after your action set has completed? I’d like to know if the result is any different.

    -Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 06-05-2015 4:46 PM In reply to

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Re: Why don't I get a Session.Screen Active RecordID after a SAVE action

    The end of the action set takes you to a new screen with same record id. This did not work

    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
  • 06-08-2015 8:11 AM In reply to

    Re: Why don't I get a Session.Screen Active RecordID after a SAVE action

    Hi Mahlon,

    What about if you remove the Go To Screen action? I need to know if it’s an issue with timing or if the value isn’t being returned correctly at all in this scenario.

    -Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 06-08-2015 3:28 PM In reply to

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Re: Why don't I get a Session.Screen Active RecordID after a SAVE action

    The screen is now live in working for the client.I don't really have time to do extra research. I could give you the account id offline if you want to loginand take a look.

    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
  • 06-08-2015 3:44 PM In reply to

    Re: Why don't I get a Session.Screen Active RecordID after a SAVE action

    Hi Mahlon,

    Can you explain your action set to me? Why are you setting the active RecordID for the screen and retrieving it using the session variable in the same action set? There are other ways to get the RecordID such as within one of your Retrieve Value From Table actions or if you’re creating a new record, from within your Insert Record Into Table action.

    Edit: Oops, I think I need a coffee. I assume you're saving a new record from the fields on screen. I'll see if I can replicate this, but let me know if you're doing something different.

    -Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 06-08-2015 4:05 PM In reply to

    Re: Why don't I get a Session.Screen Active RecordID after a SAVE action

    Answer

    Hi Mahlon,

    I made some quick modifications to a copy of the New Activity screen to retrieve and show the active screen RecordID immediately after saving.

    This is working as expected.

    You may want to re-evaluate your action set, as I don’t think the issue has anything to do with the actions firing before the screen / record has a RecordID.

    I hope this helps.

    -Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 06-08-2015 4:16 PM In reply to

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Re: Why don't I get a Session.Screen Active RecordID after a SAVE action

    Answer

    I'll try it again on another project sometime. Thanks

    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
Page 1 of 1 (9 items)