Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Documentation on how to create a Custom activity

Avatar

Community Advisor

18.05.20

Right now i don't see any documentation on how you can create your own custom workflow activity. So people are going in and writing java script code to have that functionality implemented.

It will be great to have some kind of documentation to follow on how to create the custom activity the right way and what should be the best practices to create any activity.

5 Kommentare

Avatar

Community Advisor

18.05.20

Hi,

 

Making workflow activities is fairly straightforward: Find an activity that has features you need, e.g. outgoing transitions with schema alteration, then look through the underlying js to see how it works. I usually reference crm connector activity as it has a lot of useful features.

 

Thanks,

-Jon

Avatar

Level 3

30.06.20

Hi @Jonathon_wodnicki, I am wondering the same as @_Manoj_Kumar_. Could you please elaborate your suggested solution with more details?
I have duplicated a js-workflow-activity, but how do I make my own content? Where can I find the source of this content?
forms-->xtk:workflow:

      <container img="xtk:workflow16x16.png" label="Actions" name="tools">
        <input img="nms:miniatures/mini-delivery.png" xpath="delivery"/>
        <input img="nms:miniatures/mini-control-delivery.png" xpath="controlDelivery"/>
        <input img="nms:miniatures/mini-notification.png" xpath="notification"/>
        <input img="nms:miniatures/mini-localValidation.png" label="Local approval"
               xpath="localValidation"/>
        <input img="nms:miniatures/mini-content.png" xpath="content"/>
        <input applicableIf="HasPackage('nms:federatedDataAccess')" img="nms:miniatures/mini-dbImport.png"
               xpath="dbImport"/>
        <input applicableIf="HasPackage('nms:federatedDataAccess')" img="nms:miniatures/mini-soapImport.png"
               xpath="soapImport"/>
        <input img="nms:miniatures/mini-fileImport.png" xpath="fileImport"/>
        <input img="xtk:miniatures/mini-fileExport.png" xpath="fileExport"/>
        <input img="xtk:miniatures/mini-execsql.png" xpath="sql"/>
        <input applicableIf="HasPackage('nms:federatedDataAccess')" img="xtk:miniatures/mini-execsql.png"
               xpath="sqlDM"/>
        <input img="xtk:miniatures/mini-script.png" xpath="js"/>
        <input img="xtk:miniatures/mini-script.png" xpath="js"/><!--TEST-->
        <input img="xtk:miniatures/mini-script.png" xpath="jsx"/>
        <input img="xtk:miniatures/mini-exec.png" xpath="nlmodule"/>
        <input img="xtk:miniatures/mini-import.png" xpath="import"/>
        <input img="xtk:miniatures/mini-export.png" xpath="export"/>
        <input applicableIf="HasPackage('crm:connectors')" img="crm:crm/mscrm/mscrm_logo_16x16.png"
               xpath="mscrmWorkflow"/>
        <input applicableIf="HasPackage('crm:connectors')" img="crm:crm/ood/ood_logo_16x16.png"
               xpath="oodWorkflow"/>
        <input applicableIf="HasPackage('crm:connectors')" img="crm:crm/sfdc/sfdc_logo_16x16.png"
               xpath="sfdcWorkflow"/>
        <input img="xtk:miniatures/mini-buildAggregate.png" xpath="buildAggregate"/>
      </container>

Result:

lukkyluke_0-1593585037014.png

 

Avatar

Community Advisor

04.07.20

Hi,

 

The input fields you pasted reference form xpath's within xtk:workflow.

The content would follow from there.

 

Thanks,

-Jon

Avatar

Administrator

15.10.20

This feature does not have very generic or standard usage. It is not an out of the box functionality and hence, requires Adobe Consulting to be involved. This is the reason why it’s not publicly documented.

Status geändert in: Declined

Avatar

Community Advisor

08.07.25

Hello @_Manoj_Kumar_ @Jonathon_wodnicki,
I guess this was already resolved but.

 

all of it can be followed from schemas and forms except of the last piece which is  how to connect it to JS library that  was handed to us after all those years.

I will do some articles too very soon