Name for type of actions that only care for outcome
This doesn't actually answer the question but it fits to be an answer.
What I looked for is idempotent (when I asked this question I was actually looking for this word, but failed to express myself properly). 
The definition is quite different from the question asked here: 


  In computing, an idempotent operation is one that has no additional
  effect if it is called more than once with the same input parameters.
  For example, removing an item from a set can be considered an
  idempotent operation on the set.


But indeed, any operation that is idempotent will meet the question criteria.