Skip to content
Proud to collaborate with Microsoft for Startups

appdata.query.get ​

Read one saved query, optionally with every earlier version of it

One saved query, optionally with its version history.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-appdata
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes——
actor_user_uuiduuidNo—Platform user this query belongs to; authorship and private visibility key off it
saved_query_uuiduuidYes——
include_versionsbooleanNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes——
saved_query_uuiduuidNo——
namestringNo——
descriptionstringNo——
sql_textstringNo——
parameterslistNo——
tagslistNo——
folder_uuiduuidNo——
folder_namestringNo——
visibilitystringNo——
pinnedbooleanNo——
versionintegerNo——
created_by_user_uuiduuidNo——
updated_by_user_uuiduuidNo——
last_run_atstringNo——
created_atstringNo——
updated_atstringNo——
versionslistNo——
errorstringNo—Error message when the read failed
error_typestringNo—Error class name when the read failed

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

Outcomes ​

OutcomeTypeDescriptionState Data Keys
readSUCCESSRead one saved query, optionally with every earlier version of itsaved_query_uuid
failedFAILUREAppdata workflow failedfailure_reason

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "appdata.query.get",
  "initial_data": {
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "saved_query_uuid": "value"
  }
}