Hi,
According to this documentation (https://www.ibm.com/docs/en/sqsp/51?topic=scripts-incident-operations), the addArtifact "Returns an artifact script object for further customization.". So, I think you could do something like this:
NewArtifact = addArtifact(type, value, description)
NewArtifact.source = True
or
NewArtifact.destination = True
"source" and "destination" are the names of the boolean fields you need to update.
HTH
------------------------------
Pierre Dufresne
------------------------------