activities
latest
false
Integration Service 活动
- 概述
- UiPath 生成式 AI 活动
- Act! 365
- ActiveCampaign
- Adobe Acrobat Sign
- Adobe PDF 服务
- Amazon Bedrock
- Amazon Connect
- Amazon Polly
- 亚马逊 SES
- Amazon Transcribe
- Anthropic Claude
- Asana
- AWeber
- Azure AI 文档智能
- Azure Defender for Cloud
- Azure Maps
- BambooHR
- Box
- Brevo
- Calendly
- Campaign Monitor
- Cisco Webex Teams
- Citrix ShareFile
- 清除位
- Confluence Cloud
- Constant Contact
- Coupa
- CrewAI – 预览版
- Customer.io
- Database Hub
- Databricks智能体
- Datadog
- 深度查找
- Deputy
- Discord - 预览
- DocuSign
- 水滴
- Dropbox
- Dropbox Business
- Egnyte
- Eventbrite
- 汇率
- Expensify
- Facebook
- Freshbooks
- Freshdesk
- Freshsales
- Freshservice
- 获取响应
- GitHub
- Google Maps
- Google 语音转文本
- Google 文本转语音
- Google Vertex
- Google Vision
- GoToWebinar
- Greenhouse
- Hootsuite
- HTTP Webhook
- HubSpot CRM
- HubSpot Marketing
- Icertis
- iContact
- Insightly CRM
- Intercom
- Jina.ai
- Jira
- Keap
- Klaviyo
- LinkedIn
- Mailchimp
- Mailjet
- MailerLite
- Mailgun
- Marketo
- MCP
- Microsoft Azure OpenAI
- Microsoft Azure AI Foundry
- Microsoft Azure Sentinel
- Microsoft Dynamics CRM
- Microsoft Power Automate
- Microsoft Sentiment
- Microsoft Sentinel Threat Intelligence
- Microsoft Teams
- Microsoft Translator
- Microsoft Vision
- Miro
- NVIDIA NIM
- 奥克塔
- OpenAI
- 符合 OpenAI V1 的 LLM
- Oracle Eloqua
- Oracle NetSuite
- PagerDuty
- Paypal
- PDFMonkey
- Perplexity
- Pinecone
- Pipedrive
- QuickBooks Online
- Quip
- Salesforce
- Salesforce Marketing Cloud
- SAP BAPI
- SAP Cloud for Customer
- SAP Concur
- SAP OData
- SendGrid
- ServiceNow
- Shopify
- Slack
- SmartRecruiters
- Smartsheet
- Snowflake
- Snowflake Cortex
- Stripe
- Sugar Enterprise
- Sugar Professional
- Sugar Sell
- Sugar Serve
- 探戈卡
- Todoist
- Trello
- Twilio
- UiPath Apps - Preview
- UiPath Orchestrator
- UiPath Test Manager
- IBM WatsonX
- WhatsApp Business
- WOO COMMERCE
- 可行
- Workday
- Workday REST
- X(以前称为 Twitter)
- Xero
- Youtube
- Zendesk
- Zoho Campaigns
- Zoho Desk
- Zoho Mail
- 缩放
- Zoom 信息
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
对对象和附件使用 Uipath 连接器。
概述
本指南旨在帮助您创建使用以下 ServiceNow 活动的工作示例:
- 插入 ServiceNow 记录
- 获取 ServiceNow 记录
- 删除 ServiceNow 记录
此工作示例可用于快速验证与 ServiceNow 实例的连接,并熟悉活动的输入/输出数据类型。
完成本指南中的步骤后,您将获得一个自动化序列,该连接器将执行以下操作:
- 与 ServiceNow 实例建立连接。
- 创建新的 ServiceNow 事件(插入记录)。
- 检索记录并输出预期的错误消息 (“获取记录”、“If”)。
- 删除创建的事件(删除记录)。
先决条件
在开始之前:
- 完成 ServiceNow身份验证步骤。
- 要附加到 ServiceNow 记录的本地文件。
步骤
构建项目
- 请按照连接器文档中描述的步骤建立连接。
- 添加“ServiceNow 作用域”活动。选择“配置” ,选择并测试所需的连接,然后选择“保存” 。
- 在“ServiceNow 作用域”活动中添加“插入 ServiceNow 记录”活动。
- Click the Configure button inside the Insert ServiceNow Record activity.
- In Select Object drop-down list, select Incident.
- Create and enter a
Stringvariable for the sys_id Value (e.g., sysID) - Using the Add Single Field textbox, enter short_description. Enter a short_description Value (e.g., "UiPath-Attachment").
- Click Done.
- Create and enter a
ResponseStatusvariable for the ServiceNowStatus value (e.g., insertRecordResponse).
- 在“插入记录”活动之后添加“写入行”活动。输入以下文本: "Record created: "+insertRecordResponse.Success.ToString+" | sys_id: +sysID (其中sysID是为上述sys_id “值”字段创建的变量)。
测试您的项目
- 在“删除附件”活动之后添加“获取记录”活动。
- Click the Configure button inside the Insert ServiceNow Record activity.
- In the Select Object drop-down list, select Attachment.
- In the sys_id Value field, enter the sys_id variable you created for the Insert Record activity.
- Click Done.
- Create and enter a
ResponseStatusvariable for the ServiceNowStatus value (e.g., getRecordResponse).
- 将“IF 条件”活动添加到“获取记录”活动之后。
- In the Condition property, enter getRecordResponse.Success=False And getRecordResponse.Message.Contains("No Record") to determine if the attachment record was successfully deleted by checking the error message (where getRecordResponse is the variable your created for the ServiceNowStatus property above).
- In the Then statement box, add a Write Line activity. In the Text property, enter "Test passed: "+getRecordResponse.Message.
- 在“写入行”活动后添加“删除 ServiceNow 记录”。
- Click the Configure button inside the Add Attachment activity.
- In the Select Object drop-down list, select Incident.
- In the Id property, enter the sys_id variable you created for the Insert Record activity (e.g., sysID).
- Create and enter a
ResponseStatusvariable for the ServiceNowStatus value (e.g., deleteRecordResponse).
- Add a Write Line activity after the Delete ServiceNow Record activity. In the Text property, enter "Record deleted: "+deleteRecordResponse.Success.ToString.
- 在“Else语句”框中,添加“写入行”活动。在“文本”属性中,输入“测试失败: +getRecordResponse.Message ”。
- 选择“运行”并验证“输出”窗口是否包括预期的写入行值。
操作完毕!