Hi Team,
I have to develop multi-bot architecture.
If one bot is using sharepoint the other bot cannot access the same sharepoint at the same time.
How to check whether the sharepoint is been used by other bot .
If yes how to log that handle that scenario and made other bot to wait until the sharepoint becomes free or I need to add a check whether the sharepoint browser has been closed or not.
I am using O365 activities for sharepoint thing. @Anil_G@ppr@supermanPunch any help pls how to handle this scenario
Are you trying to edit the files in online itself?
if yes then checkout check in policies can be used on files
also depending on what kind of operations you are doing we can check
Also What is the authentication you are using for scope?
One way is to use a lockign mechanizsm via assets to check which bot first acquires it then it would upload and remainign would wait
Get asset and check if asset value is NA then set asset with current Bot ID, then use get asset and check the asset value by matching if bot ID …if same lock is acquired else not and wait and repeat in loop…and if acquired perform task and break loop
same bot is running in 3machines if first bot trying to upload it will upload the file to sharepoint but if second is trying to uplaod it is asking replace if we click on replace the data uploaded by first bot is getting lost.
we are creating a summary report which includes all the queue item and its status success or failure.
I am unable to identify which bot is uploading and want to reduce the loss of data when other bot is trying to upload it
is there any other options to check the locking mechanism apart from assets.
I am using O365 activities for sharepoint,authentication is done using Application ID,Tennat ID .
I need to download the file which is present in sharepoint and update the file with transactions completed by bot and upload it to sharepoint.