You need to sign in to do that
Don't have an account?
Geetu
inputParameters.get
hi , i have a apex class which has
String recordTypeId = inputParameters.get('recordTypeId');
String accountId=inputParameters.get('accountId');
i nee dto have another input date, how can i take todays date as an input?
thanks in advance for help.
String recordTypeId = inputParameters.get('recordTypeId');
String accountId=inputParameters.get('accountId');
i nee dto have another input date, how can i take todays date as an input?
thanks in advance for help.
Can you please elaorbate what your are trying to do ??
We have a agreement wizard, on that we have couple of questions - one of the question is " Agreement start date" , so i want to auto populate the date field to Todays date. so here is the code which i have added
Question__C== 'What will be the startdate of the agreement?'){
Date TodaysDt = System.today();
parentAgreement.Apttus__Contract_Start_Date__c = System.today();
WizardResponse.UserResp userResponse = new Wizard.UserResp();
UserResp.Question = 'What will be the effective date of the agreement?';
UserResp.inputRepeatSequence = 0;
UserResp.inputControlId = inputObj.id;
UserResp.Answer=String.valueOf(parentAgreement.Apttus__Contract_Start_Date__c);
userResponseList.add(userResponse);
this is to auto polulate agreement start date, code runs with error but still anser doessnt get auto polulated,
Hope i am clear. Looking for your expeirence suggestions.