Skip to content

feat: add RunAsMe support to ProcessesService#1567

Merged
dsuresh-ap merged 5 commits intomainfrom
feature/run-as-me-propagation-JAR-9434
Apr 16, 2026
Merged

feat: add RunAsMe support to ProcessesService#1567
dsuresh-ap merged 5 commits intomainfrom
feature/run-as-me-propagation-JAR-9434

Conversation

@dsuresh-ap
Copy link
Copy Markdown
Member

@dsuresh-ap dsuresh-ap commented Apr 14, 2026

Summary

Context

JAR-9434 — Conversational Agent API Workflow tools fail with HTTP 409 ("no unattended robot") because RunAsMe is not propagated to child StartJobs calls.

Test plan

  • test_invoke_with_run_as_me_true — payload contains RunAsMe: true
  • test_invoke_with_run_as_me_false — payload contains RunAsMe: false
  • test_invoke_without_run_as_me_excludes_from_payload — no RunAsMe key in payload
  • test_is_conversational_true/false/missing — ConfigurationManager reads runtimeOptions correctly

🤖 Generated with Claude Code

@github-actions github-actions bot added the test:uipath-langchain Triggers tests in the uipath-langchain-python repository label Apr 14, 2026
@dsuresh-ap dsuresh-ap requested a review from maxduu April 15, 2026 13:03
Comment thread packages/uipath-platform/src/uipath/platform/common/_config.py Outdated
dsuresh-ap and others added 4 commits April 16, 2026 12:19
Add run_as_me parameter to ProcessesService invoke/invoke_async to
support running child jobs under the calling user's identity. Also add
is_conversational property to ConfigurationManager for reading
runtimeOptions from uipath.json config.

JAR-9434

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Per PR review feedback — is_conversational should come from the agent
definition top-down, not from ConfigurationManager.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dsuresh-ap dsuresh-ap force-pushed the feature/run-as-me-propagation-JAR-9434 branch from 13c5834 to 790d364 Compare April 16, 2026 16:20
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dsuresh-ap dsuresh-ap enabled auto-merge (squash) April 16, 2026 16:24
@dsuresh-ap dsuresh-ap merged commit 298ca3a into main Apr 16, 2026
83 checks passed
@dsuresh-ap dsuresh-ap deleted the feature/run-as-me-propagation-JAR-9434 branch April 16, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants