• Vincent Bartoloma 15
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 0
    Replies

I am setting up a scheduled Flow which I would like to have run on all records created TODAY. I set up a variable for the @CreatedDate (varCreated) and assigned the logic in the Start of the Flow to it. But I got this error : 

 

Start element can’t have a record filter condition that references a resource or element.
 

So, how do I run a scheduled Flow to only run on specific records ? 

Do I need to just run it on all records and put the variable logic within the Flow ? 

 

Thank you.

We do not maintain multiple currencies and we do not wish to do that at this time. What we would like to do is to provide our users with the ability to choose a currency from a picklist dropdown (Chosen Currency) and then to have a field (Calculated Revenue) calculated and displaying the revenue amount in that chosen currency.


It seems like I would be able to do this if I just have a currency table which I can reference which is maintained.


I've been looking into currency apps to maintain a table and they all seem to be based upon the notion that my org would be setup to manage currencies, which we are not.


Are we best off setting up to manage currencies even if we do not intend to have multiple currencies used just to have a currencies table created ? 

We use Enhanced Email in our org. I am attempting to use an Email Alert to send automated (scheduled) emails with the Case object. However, I would like for the emails to show up in the Activity History, which is displaying Enhanced Emails sent using the EmailMessage object. How can I have these emails sent with the Email Alert show up next to the Email Messages of the past ? Do I need to create a separate Email Message record ? If so, will an actual separate email be sent upon creating that record ?  

I intend to use an EmailAlert to send emails. But I also want those emails to show up as an Activity history entry as an EmailMessage record. So, what is the best practice for this ? I don't believe I can use EmailMessage in an EmailAlert. So I do I need to not use an EmailAlert and just create a new EmailMessage record ? If so, how do I use an email template in an EmailMessage ? 

 

....or should I just continue using an EmailAlert and use another method to see an Email entry in the Activity History ? 

Thank you.

I am attempting to create a Pardot Prospect on the fly in the back-end using the following command in an Apex class :

 

String returnedResponseFromPardot = Http_Utility_Pardot.pardotCreateProspect(mapContacts.keySet());


The class is triggered with an action button in a record. It was working at one time. But for some reason I am now getting this error :

 

09:01:22.0 (166342131)|METHOD_EXIT|[38]|01p2J000004cn7i|HTTPResponseParser.parseLoginResponse(System.HttpResponse)
09:01:22.0 (166357697)|METHOD_EXIT|[65]|01p2J000004cn7j|Http_Utility_Pardot.login(Pardot_Tracking_Configuration__mdt)
09:01:22.0 (166369610)|METHOD_EXIT|[136]|01p2J000004cn7j|Http_Utility_Pardot.pardotCreateProspect(Set<Id>)
09:01:22.0 (166402011)|VARIABLE_SCOPE_BEGIN|[154]|ex|Exception|true|false
09:01:22.0 (166476337)|VARIABLE_ASSIGNMENT|[154]|ex|"common.apex.runtime.impl.ExecutionException: Attempt to de-reference a null object"|0x5f998941
09:01:22.0 (166487094)|STATEMENT_EXECUTE|[154]
09:01:22.0 (166489205)|STATEMENT_EXECUTE|[155]
09:01:22.0 (166492972)|HEAP_ALLOCATE|[155]|Bytes:56
09:01:22.0 (166510285)|SYSTEM_METHOD_ENTRY|[155]|ResponseWrapper.__sfdc_message(String)
09:01:22.0 (166563630)|VARIABLE_ASSIGNMENT|[EXTERNAL]|this|{"isSuccess":false,"message":""}|0x2cb34610
09:01:22.0 (166578984)|VARIABLE_ASSIGNMENT|[EXTERNAL]|value|"Some error occurs in (36 more) ..."
09:01:22.0 (166595013)|VARIABLE_ASSIGNMENT|[4]|this.message|"Some error occurs in (36 more) ..."|0x2cb34610
09:01:22.0 (166605506)|SYSTEM_METHOD_EXIT|[155]|ResponseWrapper.__sfdc_message(String)


Anybody have any idea on what is causing this ? I'm wondering if it may be a fault with the API user which is being used ? Maybe it needs to be re-validated in Pardot...?


If you have any other suggestions I'd love to hear it. The error is so vague I'm having trouble really evaluating it all.


Thank you very much.