Skip to content

Process Invitations in the BZ database

Franck edited this page Apr 7, 2018 · 5 revisions

THIS IS STILL A DRAFT VERSION

Once an invitation is created in the MEFE, we need this invitation to be processed in the BZFE.

Invitation to a case

Get the necessary information:

  1. Get the invitation information from the MEFE API

https://[environment]/api/pending-invitations?accessToken=[token]

Replace '[environment]' and '[token]' (do NOT keep the []) with the correct values for your environment

  1. Copy these information in the table '' in the BZ database (add a new record)

As Assignee

  • Update the 2 variables that the script needs
    • Record to use in the table 'ut_invitation_api_data'
    • Environment where this script is run (choose 'Demo' if you have created a local environment from scratch)
  • Run the Script to process CC user.

As CC to a case

  • In a MySQL/MariaDB client, logged as a user who is allowed to create and delete procedures, open the Script to process assignees.
  • Update the 2 variables that the script needs
    • Record to use in the table 'ut_invitation_api_data'
    • Environment where this script is run (choose 'Demo' if you have created a local environment from scratch)
  • Run Script to process CC user.

Once the SQL script has been run:

  • Run the PUT API to let the MEFE know that the invitation has been processed in the BZFE

https://[environment]/api/pending-invitations/done?accessToken=[token]

Replace '[environment]' and '[token]' (do NOT keep the []) with the correct values for your environment

  • Update the field '' for the record that was used in the table 'ut_invitation_api_data'.

DONE

Clone this wiki locally