diff --git a/internal/workflow/preprocessing.go b/internal/workflow/preprocessing.go index cd18a89b..9ce8e2dc 100644 --- a/internal/workflow/preprocessing.go +++ b/internal/workflow/preprocessing.go @@ -89,7 +89,7 @@ func (w *PreprocessingWorkflow) Execute( Detail: "Verbose", Outcome: "valid"} - PREMISAddErr := premis.AppendPREMISEventXml("premis.xml", event, agent) + PREMISAddErr := premis.AppendPREMISEventXml(identifySIP.SIP.ContentPath + "/premis.xml", event, agent) if PREMISAddErr != nil { return nil, temporalsdk_temporal.NewApplicationErrorWithCause("unable to add validate file formats event to premis xml", "ParseInt", PREMISAddErr)