Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

Python Interpreter in Script Activity

Avatar

Level 4

Hi,

    I wanted to write python script in Script Activity. 

    As mention in document the interpreter must be installed on Server.

    Since the option Python listed in script activity, does that mean python interpreter installed on server ?

    And After Installing the interpreter can someone elaborate the steps how to use python scripts with data in transition.

    Or any use case how to use Python Scripts in Adobe Campaign.

 

 

Thank you 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Ketansing Pardeshi wrote...

Hi Florent,

Thanks for the information. We wish to use some python libraries. This will not access the database but will check the incoming data to script component, do some validation, derive some values using Python Libraries and add a new field to transition data.

How do we achieve this ? Can you refer to any documentation ?

 

Thank you,

Ketan

 

Hi Ketan,

If you are planning to have this implementation done on an Adobe hosted system, the request to install your libraries on the server will be rejected. Due to security concerns, as rightly pointed out by Florent, Adobe's operational team doesn't allow hosting of external libraries.

If the instance is on-premise then you can give it a try.

The addition of attributes to transition at runtime using python, is not documented anywhere.

Regards,

Vipul

View solution in original post

3 Replies

Avatar

Level 10

Hi,

Yes. Interpreter must be installed on the server and its path must be referenced in the corresponding option in Adobe Campaign.

That being said, I'm not sure you can access database data with Python.

Besides, the Script activity will soon be deprecated for security reasons so I'd recommend using JavaScript, which has less limitations.

Hope this helps,

Florent.

Avatar

Level 4

Hi Florent,

Thanks for the information. We wish to use some python libraries. This will not access the database but will check the incoming data to script component, do some validation, derive some values using Python Libraries and add a new field to transition data.

How do we achieve this ? Can you refer to any documentation ?

 

Thank you,

Ketan

Avatar

Correct answer by
Employee Advisor

Ketansing Pardeshi wrote...

Hi Florent,

Thanks for the information. We wish to use some python libraries. This will not access the database but will check the incoming data to script component, do some validation, derive some values using Python Libraries and add a new field to transition data.

How do we achieve this ? Can you refer to any documentation ?

 

Thank you,

Ketan

 

Hi Ketan,

If you are planning to have this implementation done on an Adobe hosted system, the request to install your libraries on the server will be rejected. Due to security concerns, as rightly pointed out by Florent, Adobe's operational team doesn't allow hosting of external libraries.

If the instance is on-premise then you can give it a try.

The addition of attributes to transition at runtime using python, is not documented anywhere.

Regards,

Vipul