can cmiCopyDocumentFromAppian be called from a script task?...

can cmiCopyDocumentFromAppian be called from a script task?...

OriginalPostID-133664

OriginalPostID-133664

  Discussion posts and replies are publicly visible

Parents
  • Currently I am using a site wide credential.

    Can we call rthe function directly? We would have to use a writer. Please do guide me on how we would go abbout it.

    a!cmiCopyDocumentFromAppian(
    scsExternalSystemKey: cons!CMIS_SCS_KEY,
    usePerUserCredentials: false,
    atomPubUrl: cons!CMIS_URL,
    repositoryId: cons!CMIS_REPO_ID,
    objectId: rule!CMIS_cmiGetObjectIdByPath(cons!CMIS_ISP_SSCM_ROOT & "/" & ri!folderName),
    properties: {name: "Arch.jpg"},
    appianDocument: ri!appianDocument
    )
Reply
  • Currently I am using a site wide credential.

    Can we call rthe function directly? We would have to use a writer. Please do guide me on how we would go abbout it.

    a!cmiCopyDocumentFromAppian(
    scsExternalSystemKey: cons!CMIS_SCS_KEY,
    usePerUserCredentials: false,
    atomPubUrl: cons!CMIS_URL,
    repositoryId: cons!CMIS_REPO_ID,
    objectId: rule!CMIS_cmiGetObjectIdByPath(cons!CMIS_ISP_SSCM_ROOT & "/" & ri!folderName),
    properties: {name: "Arch.jpg"},
    appianDocument: ri!appianDocument
    )
Children
No Data