Skip to content

Associated objects of Task missing when the workflow execute by sasctl instead of UI #157

Open

Description

@staceychan

Describe the issue
When submit the workflow from sasctl , the associated objects of the user task would be missed.

To Reproduce

  1. Submit workflow with user task in it.(by sasctl and UI)
    r = mm.execute_model_workflow_definition(project_name="test", workflow_name="Workflow_1")

  2. Check the task tab in model manger ui.
    image

One of the tasks which miss the associated object was submitted by sasctl

Expected behavior
The task should show the associated object

Stack Trace
If you're experiencing an exception, include the full stack trace and error message.

Version
What version of sasctl are you using?
1.8.2
image

Activity

  1. added
    bug
    on Mar 20, 2023
  2. self-assigned this
    on Mar 20, 2023
  3. staceychan commented on Apr 6, 2023

    @staceychan
    Author

    Hi Expert,

    Is there any progress on this bug? If you need any more information please let me know.
    Many thanks!

  4. smlindauer commented on Apr 7, 2023

    @smlindauer
    Contributor

    Hey @staceychan,

    Is this for Viya 4 or Viya 3.5?

    Edit: I am having a very difficult time determining where within the REST call that an associated object is being specified. I likely do not have enough workflow API experience to provide a direct solution, but I am assuming that there is a parameter missing from sasctl._services.workflow.run_workflow_definition(), which is causing this issue.

  5. staceychan commented on Apr 10, 2023

    @staceychan
    Author

    Hi @smlindauer,

    Thanks for your reply and investigation.
    We are using sasctl on Viya4.

    Is there any possible timeline or schedule on this API issue?

  6. smlindauer commented on Apr 11, 2023

    @smlindauer
    Contributor

    Hey @staceychan,

    I am still digging in to the issue, but the workflow API side is not publicly documented and I think we may need to refactor some of the /workflow calls to utilize modelManagement/workflow instead.

    Talking with my colleagues, it does look like the issue may not be caused by sasctl's usage of the APIs, but instead with the endpoint itself. I will see if I can get a more concrete answer on when to expect a fix.

  7. staceychan commented on Apr 21, 2023

    @staceychan
    Author

    Hi @smlindauer ,

    Appreciate it! Wondering if this an issue related to the software or just api thing?
    Cause if it's a viya bug, maybe you can give me some clues to start a tech support ticket.
    Our customer is pushing us to get the answer since this function is about to go production.

    Many thanks and have a great weekend! :)

  8. smlindauer commented on Apr 21, 2023

    @smlindauer
    Contributor

    Hey @staceychan,

    This was a software issue on SAS Viya. To my knowledge, the bug has been fixed and should be shipped in 2023.04. If your customer is still seeing this issue after the release, please submit a tech support ticket. As context, the bug internally was labelled as "In Tasks category, no value in column Associated Objects" for the WORKFLOW.REST component.

    Let me know if you need anymore details or help.

  9. self-assigned this
    on Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions