carj / pyPreservica

Python language binding for the Preservica API
https://pypreservica.readthedocs.io
Apache License 2.0
14 stars 2 forks source link

delete_asset(), validation workflow, mail #6

Closed joelthill closed 3 years ago

joelthill commented 3 years ago

Hi James,

I was using delete_asset() with both an operator and a manager's password configured in credentials.properties. Even though the call resulted ultimately in the expected deletion, there were still mails sent to the manager asking him to validate manually. In most cases, these wokflows have already been processed by the time she activates the validation link.

Is this a feature or a bug?

(in the meantime, I just emptied the deletion workflow instance's "Confirmation Email Address" field.)

cheers Joel

carj commented 3 years ago

I don't think there is anything that pyPreservica can do in this case. The workflow on Preservica has been setup to send an email and the API call just starts the delete workflow. I think removing the email address as you have done is the only option.

joelthill commented 3 years ago

ok. makes sense for me. j.