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
    • 3 wk 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
      • 3 wk 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
      • 3 wk ago
      • Reported - view

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

Content aside

  • 3 wk agoLast active
  • 3Replies
  • 19Views
  • 2 Following