Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Showing results for 
Search instead for 
Did you mean: 

How to trigger a Task reload using AWS Lambda

Hi all,

Is there a way to trigger a Qlik Sense reload using AWS Lambda?

Anyone has a some sample code to share?

Thank you

1 Reply
MVP & Luminary
MVP & Luminary

Re: How to trigger a Task reload using AWS Lambda

I've done this using the qsAPI package GitHub - rafael-sanz/qsAPI: QlikSense python API client for QPS and QRS interfaces

I added a "StartTask" method to the library.  I suppose I should submit a pull request to GitHub, but for now here is the method I added:

def StartTask(self, pName=None😞


  @Function: Start a task by name

  @param pName: Task Name

  @return : json response


  return self.driver.post('/qrs/task/start/synchronous', param={'name':pName}).json()

And here's my AWS Lambda function:

def lambda_handler(event, context):

    import qsAPI

    import os

    PROXY = os.environ['proxy']

    qrs=qsAPI.QRS(proxy=PROXY, certificate='client.pem')


"proxy" is an environment variable that contains my Qlik Sense server address.