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

Alteration Document Error #5170

Closed
iio888 opened this issue Apr 2, 2024 · 3 comments
Closed

Alteration Document Error #5170

iio888 opened this issue Apr 2, 2024 · 3 comments
Labels
documentation Documentation is needed
Milestone

Comments

@iio888
Copy link

iio888 commented Apr 2, 2024

I want to know how to create an alteration plan.
Following the documents, chapter “Alteration Plans”, I found that there is no NewAlterationPlan any more in Elsa 3.1.1.

@sfmskywalker sfmskywalker added the documentation Documentation is needed label Apr 2, 2024
@sfmskywalker sfmskywalker moved this to Todo in ELSA 3 Apr 2, 2024
@sfmskywalker sfmskywalker added this to the Elsa 3.2 milestone Apr 2, 2024
@sfmskywalker
Copy link
Member

Hi @iio888 , thanks for reaching out. We do need to update the documentation.

Until then, here's a sample JSON payload that shows the new structure:

{
    "alterations": [
        {
            "type": "Migrate",
            "targetVersion": 9
        },
        {
            "type": "ScheduleActivity",
            "activityId": "ccf52939c64d66d"
        }
    ],
    "filter": {
        "workflowInstanceIds": [
            "9e10ae74f99fe60a"
        ]
    }
}

The new class is called AlterationPlanParams.

@elsa-workflows elsa-workflows deleted a comment from glime-ai bot Apr 2, 2024
@iio888
Copy link
Author

iio888 commented Apr 3, 2024

Okay. I will check it.
Thanks for your reply!

@sfmskywalker
Copy link
Member

You're welcome @iio888
For now I will close this issue. I did create a new issue on the elsa-documentation project related to documentation of Alterations.

@github-project-automation github-project-automation bot moved this from Todo to Done in ELSA 3 Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation is needed
Projects
Status: Done
Development

No branches or pull requests

2 participants