• ujwal theja
  • NEWBIE
  • 35 Points
  • Member since 2017

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 11
    Replies
Hi,
I have created a VR on due date, that if its NOT blank, and somebody try to alter , it will throw the VR. It seems working. But the error is throwing even when its blank and sombody trying to input a date. May i know what went wrong in by below VR formula ? Thnx
 
AND( 
NOT(ISBLANK( ActivityDate )) , ISCHANGED(ActivityDate), Subject ="Opportunity follow-up" 

)

 
I just want "Forward this opportunity" button in lightning page. Could any one help me with this?
Running into an issue integrating with O365 SP Online.  I have been able to successfully authenticate and use the Graph API with the 2 step Authorization Grant flow in Apex. 

I have been trying to replicate using an Auth Provider and Named credentials.  I have setup the AP and authenticated the Named Credential.  The Bearer token is inserted into the header of the API call, but the response is Invalid Token.  Looking to see if anyone has been able to get this working.            
I'm trying to make a process in Process Builder that updates an record's owner when a picklist on that record changes from one specific value to another specific value. So I created a criteria, with the "Formula evaluates to true" option and this formula:
AND(
 ISPICKVAL([creddox__project_credential__c].creddox__Project_Record_Approval_Status__c, "Draft - Not Submitted"),
 ISPICKVAL(PRIORVALUE([creddox__project_credential__c].creddox__Project_Record_Approval_Status__c), "Requested - In Review")
)
(Followed by a field update action, of course, but that's not relevant here)
This tests whether the value is equal to "Draft - Not Submitted" and was "Requested - In Review"; in other words, it changed from the latter to the former.
Note that the "Do you want to execute the actions only when specified changes are made to the record?" checkbox is not checked, I inserted the fields in the formula using the field chooser dialog and copied the values from the setup page of the object in question. I checked a dozen times if the records were correctly updated from the first value to the second one. I also tested whether the process is triggered at all (with a second criteria that always executes), and it does. This also proves it's the criteria evaluating to false, and not the field update failing. So the formula should be correct, the tests I do are correct, and I know for a fact the process runs. This means the formula evaluates to false for some reason.

The weird thing is, this problem occurs when triggered by a field update (of the picklist), which was triggered as a final approval action of an approval process. So I tried what would happened if I changed the picklist manually, and lo and behold, the process works fine then.

Could this be bug in Salesforce, or am I missing something?
I'm trying to create a validation rule that prevents reps from moving an opportunity forward until it has been approved by our ops team. I've tried a number of versions of formulas on the forum but I can't seem to get it quite right.

The formula should say that if the opportunity - is a Change Request and the stage has changed or if its new and the stage is either Closed/Won, Closed/Won - Pending, or Closing - 90%, and the Approval Status is either New, Pending, or Rejected - then show the validation rule error that says it must be approved before advancing.

Can someone please highlight where I am going wrong here? I would greatly appreciate any help I can get.
 
AND (RecordType.Name = "Change Request", 
OR( 
ISCHANGED(StageName), 
ISNEW()), 
OR( 
ISPICKVAL(StageName, "Closed/Won"), 
ISPICKVAL(StageName, "Closed/Won - Pending"), 
ISPICKVAL(StageName, "Closing - 90%")), 
OR( 
ISPICKVAL(Approval_Status__c, "New"), 
ISPICKVAL(Approval_Status__c, "Pending"), 
ISPICKVAL(Approval_Status__c, "Rejected") 
) 
)

 
Hi,
how to add  "Start element" in flows to activate my flow. I taken a screen in that screen i taken a textbox.when i am clicking RUN button i am getting error like this "Your flow doesn't have a Start element assigned" how to avoid this error..

Thanks & Regards
Krishna
Hi,
I have created a VR on due date, that if its NOT blank, and somebody try to alter , it will throw the VR. It seems working. But the error is throwing even when its blank and sombody trying to input a date. May i know what went wrong in by below VR formula ? Thnx
 
AND( 
NOT(ISBLANK( ActivityDate )) , ISCHANGED(ActivityDate), Subject ="Opportunity follow-up" 

)

 
Hi Dev Experts!

I've created a Java Script button to set a Case (if it is a Sub Tab) to be opened as a "Primary Tab". It works perfectly except for the Icon on the Tab. When I run by code, the Briefcase Icon is as follows:
User-added image
Whereas the Case icon looks like this:
User-added image
In the code below, I'm using "/img/icon/cases16.png" to get the Case Icon. When I check the URL of the "Yellow Briefcase", I get /s.gif but when I open this directly, no images appear. Does anyone know the URL I should be using to get the "Yellow Briefcase"?
{!REQUIRESCRIPT("/soap/ajax/33.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/33.0/apex.js")}
{!REQUIRESCRIPT("/support/console/33.0/integration.js")}

var openSuccess = function openSuccess(result) {
  // Callback function of openPrimaryTab
  if (result.success == true) {
    //alert('Primary tab successfully opened');
    sforce.console.setTabIcon('/img/icon/cases16.png', result.id);
  } else {
    //alert('Primary tab cannot be opened');
  }
};

sforce.console.openPrimaryTab(null, "/{!Case.Id}", true, "{!Case.CaseNumber}", openSuccess);

 

I have 4 custom field that needs to be concatinated in a single formule custom field. For example: 

Field1__c  = 'India' 
Field2__c = 'Australia'
Field3__c  = 'America'
Field4__c  = 'London'

Now, in the New Formule field i need the output as: 

C_Field__c = Field1__c+ Field2__c + Field3__c  + Field4__c  ( with '/' seperating all the string) 

ie;.  C_Field__c = 'India/Australia/America/London'

If nothing is enterred in the those 4 fields it should return Field6__c 

  • June 06, 2017
  • Like
  • 0