Feat/add workflow sys params (#9108)

Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
Joe 2024-10-10 11:15:52 +08:00 • committed by GitHub
commit e947103b6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 74 additions and 3 deletions

View file

@ -121,6 +121,39 @@ const Panel: FC<NodePanelProps<StartNodeType>> = ({
</div>
}
/>
<VarItem
readonly
payload={{
variable: 'sys.app_id',
} as any}
rightContent={
<div className='text-xs font-normal text-gray-500'>
String
</div>
}
/>
<VarItem
readonly
payload={{
variable: 'sys.workflow_id',
} as any}
rightContent={
<div className='text-xs font-normal text-gray-500'>
String
</div>
}
/>
<VarItem
readonly
payload={{
variable: 'sys.workflow_run_id',
} as any}
rightContent={
<div className='text-xs font-normal text-gray-500'>
String
</div>
}
/>
</div>
</>