Caseblocks Logo

How to use Account level parameters in lifecycle functions

There are times you want to have a variable setup that is used throughout your lifecycle functions, this can be done by using a library function, however, rather than creating this you can add them to the features on your account. Get in touch with your account manager about setting them up.

Once your variables are setup, you can use them in your script as such. For example, if you have a variable service_api_url that you want to use, then you can access this in a script by using the following:


This can be used to store tokens, URLs, or service account details that you may need in more than one of your lifecycle functions. You can store anything the the params that JSON supports.