• sunil2018
  • NEWBIE
  • 50 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 11
    Questions
  • 11
    Replies
i am writing a code  that iterate  and  add the first rate it finds, then replace it with any record that’s Current in Ag or Current in LA or Ag. So if a pending row happens to be before the Current in LA row (and there is no Current in Ag record), the pending rate will be sent to the service instead of the Current in LA row.
 Logic is missing to specifically look for "Current in Loan Accounting" row next if CurrentinAg is not there.  please provide any suggestions on it.



Map<Id, Rate_Stream__c> ratesForTakedown = new Map<Id, Rate_Stream__c>();
        for(Rate_Stream__c rateRecord : rates){
           
            if(ratesForTakedown.get(rateRecord.Loan__c) == null){
                ratesForTakedown.put(rateRecord.Loan__c, rateRecord);
            }
            else if(rateRecord.Pending_State__c == CurrentInAg ||
                rateRecord.Pending_State__c == CurrentInLAandAg){
                Integer rateIter = 0;
                While(rateIter < requestData.Rates.size()){
                    if(requestData.Rates.get(rateIter).TakedownId == rateRecord.Loan__c){
                        requestData.Rates.remove(rateIter);
                        break;
                    }
                    rateIter++;
                }                                    
            }
            else{
                continue; //We already have a rate for this takedown
            }
               
            RateRequest rate = new RateRequest();
            rate.TakedownId = rateRecord.Loan__c;
            rate.RateId = rateRecord.Id;
 
Hi, I am writing a workflow formula that return and set a date on the base of below criteria.But its giving me syntax error.Any guidance would be appreciated.

Requirement:  1. If city = DELHI , then set date to (current Year,07,15) else set it  (current Year,08,20)
                           2. Add a year if current date is after  15 July when city = Delhi
                          3. Add is year if currnt date is after 20 August.

Workflow formula:
If(Text(City__c)= “DELHI”,DATE(YEAR(TODAY(),07,15), DATE(YEAR(TODAY(),08,15)),
DATE(YEAR(TODAY()+1,07,15),
DATE(YEAR(TODAY()+1,07,15),
If(YEAR(TODAY(),08,20)<TODAY(),
DATE(YEAR(TODAY()+1,08,20),
DATE(YEAR(TODAY()+1,08,20)))
 
Hi,  I set field level security for single  field ( Field name : Active,  field type: check box) as  Read only to make it non editable ( disable).Requirement: Make this Active field as not editable in Part object.
I removed the edit access in Profile field level security in Part object to make this field as not editable.
But after making above changes this field is still editable for a new part window.
 
Hi
I upated an existing process builer process ( e.g ABC process)  in sandbox . Then I exported it in VS code and it has following details
Directory = Flows
Process builder name: ABC.flow-meta.xml
File type = XML
extension = XML.

I created a new project  and cloned a repositiory in VS code .I  found this exiting ABC process  had following file details.

Directory = unpackagedSrc\Flows
Process builder name: ABC.flow
File type = flow
extension = flow


Question: 1) I need to export my updated prcess builder process in VS code with flow file type and extention. Kindly suggest what SFDX command or steps I need to follow to get it.

2) will this process builder export override the existing cloned ABC Process builder process?

3) how can I update this existing cloned ABC Process builder process with my updated sanbox ABC process builder. Kindly provide your inputs and SFDX commands required for it.

4) I am not sure why file  ABC process extension are different in above when exported from sandbox and repository.


 
Hi, 

1) how  to export a process builder active process for backup.Kindly provide steps.
2) Is it possible to import/export process builder process in VS Code through package.xml file. If yes, please suggest what will it's name in below file.

 <types>
        <members>*</members>
        <name>ProcessBuilder</name>
    </types>
Hi All,
I am trying to create a process  in Process builder to update a custom text field in Case object for below criteria.

1)    Case description is not null 
AND
2)    Case description Ischanged
OR
3)    Case descripton IsNew()

I created a criteria for Executioning actions as Formula evaluates to true under criteria section with below formula. But this formula is giving syntax error. 

Formula:
[Case].Description  !=NULL AND (IsChanged() OR IsNew())
Hi , please suggest some best resources to start for learning Integration for external systems. I am looking for some resource for practical approach .

1) Apex cannot show the elements in User Interface. Can you please provide inputs on the meaning of this line with regards to Apex? It is the Apex limitation.
2)what features Apex does not support?
Hi,

Can someone help me with Namespace benefits and its implementation steps  required for managed and unmanaged packages
HI All,
Please provide your inputs on Salesforce Authentication process required for
1)Inbound REST API
2)outboud REST API
 
1. While salesforce integration planning, how it is decided that salesforce Integration with external system should use RESP API or SOAP  API?

2. can someone give me steps required  for Inboud and outboud REST API integration.
Hi,  I set field level security for single  field ( Field name : Active,  field type: check box) as  Read only to make it non editable ( disable).Requirement: Make this Active field as not editable in Part object.
I removed the edit access in Profile field level security in Part object to make this field as not editable.
But after making above changes this field is still editable for a new part window.
 
Hi
I upated an existing process builer process ( e.g ABC process)  in sandbox . Then I exported it in VS code and it has following details
Directory = Flows
Process builder name: ABC.flow-meta.xml
File type = XML
extension = XML.

I created a new project  and cloned a repositiory in VS code .I  found this exiting ABC process  had following file details.

Directory = unpackagedSrc\Flows
Process builder name: ABC.flow
File type = flow
extension = flow


Question: 1) I need to export my updated prcess builder process in VS code with flow file type and extention. Kindly suggest what SFDX command or steps I need to follow to get it.

2) will this process builder export override the existing cloned ABC Process builder process?

3) how can I update this existing cloned ABC Process builder process with my updated sanbox ABC process builder. Kindly provide your inputs and SFDX commands required for it.

4) I am not sure why file  ABC process extension are different in above when exported from sandbox and repository.


 
Hi, 

1) how  to export a process builder active process for backup.Kindly provide steps.
2) Is it possible to import/export process builder process in VS Code through package.xml file. If yes, please suggest what will it's name in below file.

 <types>
        <members>*</members>
        <name>ProcessBuilder</name>
    </types>
Hi All,
I am trying to create a process  in Process builder to update a custom text field in Case object for below criteria.

1)    Case description is not null 
AND
2)    Case description Ischanged
OR
3)    Case descripton IsNew()

I created a criteria for Executioning actions as Formula evaluates to true under criteria section with below formula. But this formula is giving syntax error. 

Formula:
[Case].Description  !=NULL AND (IsChanged() OR IsNew())

1) Apex cannot show the elements in User Interface. Can you please provide inputs on the meaning of this line with regards to Apex? It is the Apex limitation.
2)what features Apex does not support?
HI All,
Please provide your inputs on Salesforce Authentication process required for
1)Inbound REST API
2)outboud REST API