+ Start a Discussion
manan patel 7manan patel 7 

element myRule_1_A1 (FlowActionCall). Action name not found: null

i want to create Opportunity and opportunitylineitem porducts using flow and process builder but i am getting  error in debug log it say Action name not found or null but i can not understand what is action name stands for? 
SoundarSoundar
Hi Manan Patel,

1.Did You Check the action in your process builder . 
2.Kindly Give a Correct creteria in that action.

Check Your Action with the name


Regards,
Soundar Raj
manan patel 7manan patel 7
hi soundar rajan
 i trying to call flow on update and i build process builder to but its action method does't visible in flow canvas
 
SoundarSoundar
Hi Manan Patel,

1. Create New Process Builder With a related name (for eg: Opportunity Process Builder)
2. Choose Object (In Which Object you need this process).
3. Click The Creteria (Give Your requirement Creteria).
4.You can Add action under the Immediate Action box. (Note: add action is not visible untill you not create Creteria).

User-added image


All The best !! ask me if you have any doubt...

Regards,

Soundar Raj
manan patel 7manan patel 7
thanks for fast reply

i want to share to some images with you
User-added image
all variable take value to the flow 
User-added image
this is the image of my Flow where i trying to create new Opportunity and its opportunity product
thanks in advance
 
SoundarSoundar
Hi Manan Patel,

1. Initially Check it's Working or not (So Check one by one )
2. after that add all the set flow variable based on your requirements.
3.Once Check the Cretiria also (is that creteria was met the condition as well)


Regards,

Soundar.
manan patel 7manan patel 7
Process Builder Run  successfully it give me opportunityId and other Values but some time i get diffrent Opportunityid insted of Original
and Flow read all data but its not perform insertion. i chack all criteria which full fill the requirement and working as well.
i thing, there is some problem in my flow. but i dose't figure out that.
 
manan patel 7manan patel 7
I get this type of error in Email


Flow Details
Flow Name: New_Flow
Type: Autolaunched Flow
Version: 23
Status: Active

Flow Interview Details
Interview Label: New Flow 6/13/2017 3:30 PM
Current User: manan patel (0056F000006523y)
Start time: 6/13/2017 3:30 PM
Duration: 1 seconds

How the Interview Started
manan patel (0056F000006523y) started the flow interview.
Some of this flow's variables were set when the interview started.
OldOppName = Test1
StageName = Closed Won
OldOpportunity = 0066F00000nNxYlQAK
CloseDate = June 12, 2017

FAST LOOKUP: Fast_Lookup
Find all OpportunityLineItem records where:
OpportunityId Equals {!OldOpportunity} (0066F00000nNxYlQAK)
Assign those records to {!OppProduct}.
Save these field values in the variable: OpportunityId, Quantity, PricebookEntryId, UnitPrice, Product2Id
Result
Successfully found records.

RECORD CREATE: Record_Create
Create one Opportunity record where:
CloseDate = {!CloseDate} (June 12, 2017)
ForecastCategoryName = Closed
Name = {!OldOppName} (Test1)
StageName = {!StageName} (Closed Won)
Result
Failed to create record.
manan patel 7manan patel 7
and this Email to

Flow Details
Flow Name: flow_opportunity
Type: Workflow
Version: 4
Status: Active

Flow Interview Details
Interview Label: flow_opportunity-4_InterviewLabel
Current User: manan patel (0056F000006523y)
Start time: 6/13/2017 3:29 PM
Duration: 1 seconds

How the Interview Started
manan patel (0056F000006523y) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = 0066F00000nNxYlQAK
myVariable_current = 0066F00000nNxYlQAK

ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "6/13/2017 3:29 PM"

DECISION: myDecision
Executed this outcome: myRule_1
Outcome conditions: and
1. {!myVariable_current.StageName} (Closed Won) Equals Closed Won
Logic: All conditions must be true (AND)

NEW_FLOW (FLOWS): myRule_1_A1
Inputs:
CloseDate = {!myVariable_current.CloseDate} (June 12, 2017)
StageName = {!myVariable_current.StageName} (Closed Won)
OldOppName = {!myVariable_current.Name} (Test1)
OldOpportunity = {!myVariable_current.Id} (0066F00000nNxYlQAK)

Error Occurred: An error occurred when executing a flow interview.
SoundarSoundar
Hi Manan Patel,

You were given old Opportunity Id in that Process , So you getting another Opportunity Id. Can you please Check this scenario initially.

Regards,

Soundar.
manan patel 7manan patel 7
ya i check it but nothing found any exception.when i create new opportunity manually then it give me a right OpportunityId. as i send above two email everything going perfect but its not create a record .i don't understand what is the flow