avid.common.artefact.generateFlatArtefactPath

avid.common.artefact.generateFlatArtefactPath(workflow, workflowArtefact)

Using this function will write all artefacts directly into the content directory of the workflow.