Python Interpreter in Script Activity

Avatar

Avatar

ketangp28686788

Avatar

ketangp28686788

ketangp28686788

08-03-2017

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 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vapsy

Employee

Avatar

Vapsy

Employee

Vapsy
Employee

11-03-2017

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

Answers (2)

Answers (2)

Avatar

Avatar

florentlb

Avatar

florentlb

florentlb

08-03-2017

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

Avatar

ketangp28686788

Avatar

ketangp28686788

ketangp28686788

08-03-2017

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