Skip to content

Update "Change Language Variant Workflow Step" to work with language codenames #36

@KelvinC013

Description

@KelvinC013

Motivation

This feature will help when a language id is not returned by a previous step. It will allow users who aren't aware of the Kontent.ai language id's to use a language codename instead. I ran into this issue when using a trigger that fired on "item_workflow_step_changed". The output didn't include a language id or codename, only the full name of the language of the variant.

Proposed solution

adjust the call from the script to either allow language identifier to use a codename "or codename (e.g., codename/es-ES)" or return language id in the trigger so that it can be used in later steps.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions