How can i guarantee mutual exclusion in a vb.net script?

We have a DB table with telephone numbers here. A process/script assigns people via an FK. My suspicion now is that processes are taking phone numbers from each other and assigning them to other people in quick succession. How can this be ruled out within a vb.net Designer Script?

Best regards,

Alexander

Parents
  • Hi Alexander,

    you should implement a script that checks data for a single assignment and if data are valid it should create this assignment. To start the script in a process you create the process step using "ScriptComponent - ScriptExecSingle" and the job queue processing will handle it for you.

    regards,

      Tino

Reply
  • Hi Alexander,

    you should implement a script that checks data for a single assignment and if data are valid it should create this assignment. To start the script in a process you create the process step using "ScriptComponent - ScriptExecSingle" and the job queue processing will handle it for you.

    regards,

      Tino

Children