Document assignment using pthyon server side script

how to assign a document to user not from frontend, not using assignment rule as I have to apply some logic to find the user to whom I need to assign the document, I want it from server side script. can someone know how to do this?

  • add a custom field and set assigned user using script
  • setup assignment rule to use this field for assignment
1 Like

in assignment rule there is no option of a field to assign user

There is.

image

Got it. Thanks