Python Interpreter in Script Activity | Community
Skip to main content
Level 4
March 8, 2017
Solved

Python Interpreter in Script Activity

  • March 8, 2017
  • 3 replies
  • 2396 views

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 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vraghav

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

3 replies

florentlb
Level 10
March 8, 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.

Level 4
March 9, 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

vraghav
Adobe Employee
vraghavAdobe EmployeeAccepted solution
Adobe Employee
March 11, 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