Skip to content

project.workflow.stepGroup.created

Python model

ProjectWorkflowStepGroupCreatedEvent — from kili_events import ProjectWorkflowStepGroupCreatedEvent

Description

This event is raised once Kili backend successfully creates a project workflow step group. If a user creates N project workflow step groups, it creates N events, one per project workflow step group created.

Properties

event

  • Required
  • The name of the event.
  • Constant value: "project.workflow.stepGroup.created"

project_id

  • Required
  • Type: string
  • Id of the project where the step group was created.

user_id

  • Required
  • Type: string
  • Id of the user who created the project workflow step group.

organization_id

  • Required
  • Type: string
  • Id of the organization in which the project was created. It references the project author organization.

payload

  • Required
  • Type: object
  • The payload of the event, containing details about the project workflow step group created.
  • Properties
    • step_group_allowed_job_names
      • Required
      • Type: array
      • The list of job names that are allowed for the newly created workflow step group.
        • Items
        • Type: string
    • step_group_id
      • Required
      • Type: string
      • Id of the newly created workflow step group.
    • step_group_name
      • Required
      • Type: string
      • Name of the newly created workflow step group.

event

  • Required
  • The name of the event.
  • Constant value: "project.workflow.stepGroup.created"

projectId

  • Required
  • Type: string
  • Id of the project where the step group was created.

userId

  • Required
  • Type: string
  • Id of the user who created the project workflow step group.

organizationId

  • Required
  • Type: string
  • Id of the organization in which the project was created. It references the project author organization.

payload

  • Required
  • Type: object
  • The payload of the event, containing details about the project workflow step group created.
  • Properties
    • stepGroupAllowedJobNames
      • Required
      • Type: array
      • The list of job names that are allowed for the newly created workflow step group.
        • Items
        • Type: string
    • stepGroupId
      • Required
      • Type: string
      • Id of the newly created workflow step group.
    • stepGroupName
      • Required
      • Type: string
      • Name of the newly created workflow step group.