Published on 08/19/2022
Published by amit
Using ticket too directly run service
In a ticket, you can also run a service directly while setting up ticket_activity
1 2 3 |
[session_ticket.create nonce=yes set=module.ticket_id/] [session_ticket.set_activity {module.ticket_id} app='policies' service='kb_service.{module.slug}.searchArticles' /] |
In the example above
- “app” attribute specifies the app under which to run the service
- “service” attribute specifies the service to run.