You should add Automatic activities in automatic role lanes. You can add Automatic activities in user-defined roles but this does not add any information to the process. The engine runs Automatic activities without the user's intervention.
You must connect an Automatic activity to the process flow using an inbound and an outbound transition. An error appears in the Problems View if the inbound or outbound transitions are missing.
You may need to define an argument mapping when you implement an Automatic activity with a component or a procedure task.
When you implement an Automatic activity with a component task, the method you select might require input and output arguments.
When you implement an Automatic activity with a procedure task the procedure you select might require might require input and output arguments.