0

Dialog not working.

In the 'Trigger on new record' I have the following

let title := "Serial and/or Bundle Required";
let message := "Does this new record need it's Serial Number logged? 
If so is it part of a Kit/Bundle?";
let answerOptions := ["Yes", "Both", "Ignore"];
if dialog(title, message, answerOptions) = "Yes" then
    SERIALIZE = true;
    if dialog(title, message, answerOptions) = "Both" then
        SERIALIZE = true;
        'IS BUNDLE' = true;
        if dialog(title, message, answerOptions) = "Ignore" then
            SERIALIZE = false;
            'IS BUNDLE' = false
        end
    end
end;

The dialog does not function at all on a new record.  Why would this be?  Can someone assist please.

 

Cheers
 

3 replies

null
    • Fred
    • 9 days ago
    • Reported - view

    Check out this doc about where executions happen.

    If you DB is in the cloud, then the trigger pops up on the server.

    Can you create a new record button? That way you can use dialog()?

      • Alan_Cooke
      • 9 days ago
      • Reported - view

       Thanks Fred - jogged my memory re:  Dialogs.  Will have to think of a work around, button is an option, but new records can be created without the use of a button which stymies things somewhat.

      • Fred
      • 9 days ago
      • Reported - view

      That is what dashboards are for. Take control of the entire process.

Content aside

  • 9 days agoLast active
  • 3Replies
  • 18Views
  • 2 Following