Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Cortex Responders How to get task log content? #975

Closed
Canon88 opened this issue Apr 10, 2021 · 1 comment
Closed

[Bug] Cortex Responders How to get task log content? #975

Canon88 opened this issue Apr 10, 2021 · 1 comment

Comments

@Canon88
Copy link

Canon88 commented Apr 10, 2021

Describe the bug
I'm writing a Cortex Responders by getting Case -> Task logs as the body of the email and sending it.

I'm looking at the Mailer code in responders and it's via

description = self.get_param(
    "data.description", None, "description is missing"
)

So how should I get the data in Task logs? Any good suggestions?

Complementary information
image
Like this image, I want to get the contents of task logs through Responders.
But I don't know how to get this value as the body of the email sent.

Work environment

  • Server OS: Ubuntu
  • Cortex version: 4.1.2-1
@Canon88
Copy link
Author

Canon88 commented Apr 10, 2021

I'm not strict enough, when I reopen the task, it gets the data.

@Canon88 Canon88 closed this as completed Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant