I have created two rules In 1st rules
event :-After saving a new user account
condition:-
User has role(s)
Parameter: User: [account], Roles: teacher.
Action:- Create a new entity Parameter: Entity type: Node, Content type: teacher`s profiles, Title: [account:name], Author: [account] Provides variables: Created entity (entity_created)
And In second rules:-
I have taken following things:-
Event:-After saving new content. condition:- Content is of type Parameter: Content: [node], Content types: teacher`s profiles.
Action:- Create or delete a content's URL alias Parameter: Content: [node], URL alias: node/[site:current-user]/edit.
The First rule Work perfectly But the problem is in second rules it create an alias with the url: node/anonymous/edit
I don`t know what is the problem in this rule anyone can help me.
Thanks in advance