はじめてのオートメーションをわずか数分で作成できます。Studio Web を試す →
作成者: Troy Web Consulting
0
アクティビティ
<100
I am getting the below error message when using the Twilio Scope activity. I did exactly how it was showed in the 1st
video.
Twilio Scope: Method not found: 'Void Twilio.Clients.TwilioRestClient..ctor(System.String, System.String, System.String, S
ystem.String, Twilio.Http.HttpClient)'.
Hi Joseph,
Thanks a lot for your help and the package is really benefitial for two way traffic.
Now I am able to print all the Parameters of the message. Just wanted to make sure this activitycan be used in Production ?
Thank you
Glad I was able to help.
We license this under the Apache 2.0 license so you may use this for commercial purposes.
Hi Joseph,
I tried updating For Each Activities Argument Type = System.Linq.Enumberable and Input Values for the For each = ResourceSet Variable from Get Messages. I placed a Log message within For each to print and got error Unable to cast object of type 'Twilio.Rest.Api.V2010.Account.MessageResource' to 'System.Linq.Enumerable'.
Followed the reference from https://www.twilio.com/docs/sms/api/message-resource# and https://www.twilio.com/docs/sms/api/message-resource?code-sample=code-read-list-all-messages&code-language=C%23&code-sdk-version=5.x
But no help.
I really appreciate your inputs and suggestion to utilize Get Message/Get Messages functionality.
Thank you
Try setting the TypeArgument property of the for each activity to MessageResource and the values property to your ResourceSet.
For each can iterate any IEnumerable that you put into the values argument, this could be a list, ResourceSet, or any other type that implements IEnumerable. Think of ResourceSet as a special kind of list and the values in that list are of type MessageResource.
Try setting the TypeArgument property of the for each activity to MessageResource and the values property to your ResourceSet.
For each can iterate any IEnumerable that you put into the values argument, this could be a list, ResourceSet, or any other type that implements IEnumerable. Think of ResourceSet as a special kind of list and the values in that list are of type MessageResource.
Hi Joseph,
I am trying to use Get Message and Get Messages Activities for a use case
Could you please help me how to display the available values in Message Resource and ResourceSet
I need to display and see teh list of messages available associated with my Twilio account.
Appreaciate your help.
Thanks,
Prasanth Thiagarajan
Hey Prasanth,
Have you tried using the output ResourceSet as the enumerable in a for-each activity?
The difficulty with ResourceSet is the message resources are paged from the Twilio API, so there is some background logic there to request messages from the API when reaching the end of the page. In their example here https://www.twilio.com/docs/sms/api/message-resource?code-sample=code-read-list-all-messages&code-language=C%23&code-sdk-version=5.x they show how to use it in a normal for-each loop.
Make sure you do all of this inside the twilio scope as the API client only exists inside of it.
Can GetMessages activity return List instead of Resourceset?
We are unable to loop through each MessageResource from ResourceSet list.Please let me know there is an alternative.
Thanks for the quick reply.
Are you referring to Activities metioned in the below doc link?
https://docs.uipath.com/marketplace/docs/twilio-scope
Can i read a message (or messages) from a twilio account using UIPath bulitin Activities?
Currently, I believe that package only supports sending SMS, not reading SMS from Twilio.
This Component works great!! Thanks.
Can we use this for Prod environment?
Hey Vinesh!
Thank you for using the activity package! We license this under the Apache 2.0 license so you may use this for commercial purposes.
Let me know if you have any issues with the activities and I can work with you in resolving them and making a new version of the package if necessary.
UiPath also created a Twilio Activities package recently which is more officially supported but contains fewer activities (Fax and MMS not included).
ライセンス契約とプライバシー条項
Apache
プライバシー条項
技術情報
バージョン
1.1.0更新日
2020年6月4日対応製品
Studio: 20.4 - 22.10
認定
シルバー 認定済み
サポート
UiPath コミュニティ サポート
リソース