1. Messages for user

    Artikel: AN0001873Aktualisiert: 04.10.2018
    Die vorgegebene Sprachenversion vom Artikeltext wird angezeigt, weil es kein Text von der ausgewählten Sprache und Version gibt.

    In certain situations it is necessary to display a message to the user, no matter if it should information, error message or confirmation of a successful completion of some action. This messages are provided by object OGForm or OGActualMessage. Use the object OGForm in a script on button and object OGActualMessage in the rule of type Script.

    OGForm. SetInfo

    OGForm.SetInfo('You did not change any attribute.');

    OGForm. SetError

    OGForm.SetError('Request to create server cannot be submitted due to missing network segment.');

    OGForm. SetSuccess

    OGForm.SetSuccess('Your request for access rights was submitted.');

    OGActualMessage

    Object OGActualMessage can be used in a similar way - just in a different place - in rules of type Script.

    OGActualMessage.SetInfo('You did not change any attribute.');
    OGForm.SetError('Request to create server cannot be submitted due to missing network segment.');
    OGForm.SetSuccess('Your request for access rights was submitted.');

     

    Communication with user can be also supported by notifications or sending emails from workflow activities (e.g. Send email, Task).

×