"Application" workflow bypassing step
My G3 iBook runs Tiger 4.11 and classic 9.2.2 which is activated at startup. To help someone who is not too computer savvy I have written a 2 step workflow - the first does some cleanup (no output) and the second invokes a classic program.
When I run this from inside automator it goes well, but if I save it as an application and invoke that, the first step completes and the whole thing finishes. (Although I am sure it worked when I first wrote it.)
There is only one workflow of 2 steps.
First step is Run AppleScript which always runs and has no output.
Second step is Launch (Classic) Application. This runs when the workflow is run in Automator, but not when it has been saved as an Application and Double Clicked.
In the second case the Menu Bar shows step 1 completing and then goes blank.
There is no error message.
Similar Messages
-
Applescript works in Automator but not as Application workflow
I have a pretty simple Application workflow in automator that runs this applescript:
set front_app to (path to frontmost application as Unicode text)
tell application front_app
activate
set bounds of window 1 to {0, 0, 1280, 800}
end tell
as you can see all it does is it maximizes the current window. it works when I run the script from within automator, but when i save it as an application and run that it says the applescript errored.
Why is my simple automator not working as an application?
Message was edited by: PyrolisticalWhen you run that script as an application it comes to the front and is therefore the frontmost application: it doesn't have a window to be maximised.
You would need to specify the actual application to have its window maximised:
tell application "Safari"
activate
set bounds of window 1 to {0, 0, 1280, 800}
end tell
Trying to find out which was the frontmost application before you launched the AppleScript application is going to to be difficult. -
Install my application in one step
I am finishing my application and I am looking after my users.
How can I distribute my application in one step?
First of all I have to consider that I am using the javacomm2 that needs
to copy some files into the bin and lib jre directories.(not so much users can do it)
Second I packed all my code in a jar file (manifest included),
�how can I create a link into Windows menus?
I want for my users a one step (and cheep) way of getting my product.
Thanks in advanceI think what you need is installshield. Please try it on www.google.com
/Sreenivasa Kumar Majji.
I am finishing my application and I am looking after
my users.
How can I distribute my application in one step?
First of all I have to consider that I am using the
javacomm2 that needs
to copy some files into the bin and lib jre
directories.(not so much users can do it)
Second I packed all my code in a jar file (manifest
included),
�how can I create a link into Windows menus?
I want for my users a one step (and cheep) way of
getting my product.
Thanks in advance -
Problem in Workflow matching step
Hi,
I am facing a problem in Workflow matching step. I have user kaushikb assigned to it.
Execution Type: Any Single, Assignee Type: User and Execution Type: Any Single.
Match Record Scope: Records vs Records, Strategy: MDM_NAME.
This Strategy: MDM_NAME is based on 3 rules: MDM_NAME1, MDM_NAME2 and MDM_NAME3.
MDM_NAME1 is done based on transformations MDM_NAME1[XFM], MDM_NAME2[XFM] and MDM_NAME3[XFM].
Now my problem is even after matching and merging a large number of records it is not going to
the next step. Do I need to match and merge all duplicate records? If the Matching process is rerun
the score becomes less as the same records are compared again. After this the link assume gets activated and then clicking it activates the next step.
Regards
Kaushik BanerjeeHi Kaushik,
Match step is an Automated step in the MDM workflow.On selecting this step you need to mention the strategy that needs to run on the records to match them.When you reach the Match step you need to Perform the step to run the mentioned Strategy .
When you Perform the Match step it will display the Matching result provided you select the Matching mode in MDM data manager.
You can merge or not merge the matched records Once your Matching is performed by the system, You can move your Workflow to the Next step which is Process.
When you are selecting Any single as your execution type it means you have more tahn one user for executing this task but you want any single one of them to perform it.
So whenever you have selected Any single as the excution type for any process .The user accepting to perfrom the task needs to Accept the task .
So when User1 wants to perform the task he will have to select Accept and then proceed with the task.
When the owner of the workflow is testing the entire workflow he needs to Assume the task as he is not the Assigned user but the Assumed one.
So if you have build your workflows correctly and moving in step as explained you should be able to select the next step
You can follow the below link to understand the process better:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0be83e4-a1e6-2a10-c1be-8395ae948844
Hope It Helped
Thanks & Regards
Simona Pinto -
Workflow start step performs Exclusive checkout
We need to upload data to records that are in workflow and checked out by the workflow start step. Unfortunately the workflow start step performs an Exclusive checkout of the record which means that the background MDM Impor Server user cannot automatically join the checkout, the user first needs to be invited to the checkout, which needs a manual step of modifying the join permissions of the checkout, which is not what we want to do.
I have also noticed that when an existing record is checked out Exclusively the user's roles are pulled through into the permitted roles section of the join permission screen of the checkout. When a new record is checked out Exclusively the user's roles are not pulled through to the permitted roles section of the join permission screen of the checkout. This looks like a bug to me.
We are using MDM 7.1 SP08.
Please advise any workarounds to this problem. I can think of a few, but none are very elegant, e.g.:
1. Use API to invite import user to checkout before import is started (requires coding)
2. Get the user that owns the workflow to manually invite the import user (not guaranteed to remember)
3. Complete workflow and stat new wokflow without chekout before import is started.
Any advice will be appreciated.Hi Johann,
I got you point.
Its not a bug in MDM these are the constraints in MDM :(.
To understand more read section CHECKOUT AND WORKFLOW FAILURE CONDITIONS of the import manager refernce guide.
http://help.sap.com/saphelp_nwmdm71/helpdata/en/4b/72b8e7a42301bae10000000a42189b/MDMImportManager71.pdf
In our lanscape we too have a scenario where we are creating/ records in MDM leaving Material Number Blank (Record Add workflow).
But once this record with balnk Material Number is syndicated to source system we stop this workflow.
Now from source system through change pointer we get a file immediately with material Number and MDMID.
which we process through MDIS and trigger another workflow(Record Import)
I guess this matches with the third option you described to start and stop workflow and trigger import.
Regards,
Neethu Joy -
Excute workflow from step 3 by abap code
hI,
i want to excute workflow from step 3 by abap program. My workflow send mail from approval at 3 step.When approval is made then it will go for further processing.
please give me code if possible.
Regards,
Gurprit
Message was edited by:
GURPRIT BHATIA
Message was edited by:
GURPRIT BHATIAhi Guprit,
based on my experience you must trace why your workflow is wait.
is it because the workflow is waiting for certain events ?
or is it because of an error occured in the step 3 of the workflow ?
if the worfklow is waiting for certain events, you can force it to continue with triggering the events that workflow wait ( transaction code SWUE )
if an error occured in the step 3 of the workflow, you need to trace it what kind of error .... and for certain case after you fix the error you can continue the workflow by using tcode SWPR and restart the workflow after error.
but unfortunatelly based on my experience, some times the workflow just stuck in the middle of the process and no error occured
it this happens, ussually i re-triggered the workflow
hopes it helps
cheers -
Experiencing problems with workflow- validate step
I am experiencing problems with workflow->validate step in Hyperion FDM.
I am not able to export unmapped dimension members to Excel.
Earlier everything worked fine.
But now all of a sudden it has become a serious problem.
when I click Export to Excel,processing starts and it's never coming to an end.
Every thing is getting stuck up.
Could any one suggest solution to this as it is delaying my deliverable.Try opening excel first, then doing the export from FDM.
-
About Application Workflow Engine
I have seen a requirement for Application Workflow Engine...I tried hard to find a PeopleBook for that but couldnt find any.Where can we get information about that.Help me out.Thanks.
Hi,
Could you please let me know the path on metalink wherein i can find the red paper for AWE.I have been searching a lot but havent got the right one.
Thanks
Samidha
Edited by: [email protected] on Jun 10, 2009 10:23 PM -
Workflow configuration step by step guide...
Hi All
Please any one could send me the workflow configuration step by step guide. can send it to my e-mail address : [eMail Address Removed: violation of SCN's Rules of Engagement]
Many thanks in advance.
Arshad
Message was edited by: Jason LaxHi Arshad
Suggest you to go through the documentation before actually doing it at least once.
Pl check this link:
https://websmp208.sap-ag.de/ibc-srm
You will find scenario specific config guides for EBP40. Download the config guide for self-service procurement and gothrough workflow configuration section. This is still the same in SRM50 also.
Best regards
Ramki -
Workflow Dialog Step from WD ABAP.
Hi Friends,
I want to display User Decision steps / Dialog Step (where user can approve/reject )from my WD application . I was trying with the FM "SWL_WI_EXECUTE" and "SWL_WI_DISPATCH" but both are giving Null Pointer Dump. I debug and found that there is some problem which it generating HTML file .Has anybody any idea .
Thanks In Advance.
SatyaHi Satya,
I am using the same FM SAP_WAPI_DECISION_COMPLETE for approving/rejecting from within my WDA application. I dont see as to why this should not be working for you.
CALL FUNCTION 'SAP_WAPI_DECISION_COMPLETE'
EXPORTING
workitem_id = im_workitem_id
language = sy-langu
decision_key = im_decision_key
IMPORTING
return_code = ex_return_code.
Here the decision key is a value which my workflow consultant had provided me. (In my case its like 0001 for approval, 0002 for rejection & 0003 for sending back the form to the initiator.)
Regards,
Uday -
Workflow approval step from mobile
Hi,
The requirement is to create a mobile application which user will launch from mobile desktop and within this application they can navigate to the functional component. eg. SAP workflow inbox . and further incorporate screens in the application.
I am totally starter so I am looking for basic steps / useful links / any inputs.
thank you in advance,
BHi,
I have found some useful blogs and I am following [link1|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0baafd6-52fa-2910-c6a8-fbb9399cb4ab?quicklink=index&overridelayout=true] and [link2|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1042d3cb-dff0-2910-19bf-bd87be307999?quicklink=index&overridelayout=true]
But here, I dont know how to install MI Client
Could anyone please provide input how to get the setup file and installation steps ?
thank you
B -
Workflow ByPass Approve - Oracle UCM 11g
I need to enable the option *"ByPass Approve Link"* for steps action in a Criteria Workflow.
In Oracle UCM Documentation (__http://docs.oracle.com/cd/E21764_01/doc.1111/e10978/c05_workflows.htm#CIHFBGEJ__) said the link appears in Workflow Actions as default for users who has Read permission, but doesnt it.
Please, if someone knows how to enable this link. Its urgent.
ThanksHi,
Look the
*<@dynamichtml setup_workflow_action_popups@>* and ifClause
Martin -
Decoupled workflow tasks\steps
hi,
I am totally new to workflow, I have a requirement to create a workflow like this:
suppose these are the steps\tasks in the workflow sequence.
Task1->task2->task3->task4
it should be possible for me to remove a task, add a task etc. with just changes in config. So it should be configurable\pluggable.
In each step at the start of the application, the adminstrator should be able to assign who should approve\sign off each task. This should be done through changing values in tables. (additional info: Each task should also have a checklist which is also configurable. the approver of each task will also have to update some data for the transaction which will at the end of the application be displayed in a document. )
How do I go about doing this so that minimum effort is required to change a workflow sequence (add\remove tasks)
thank youHi,
According to your post, my understanding is that you want to open task with appropriate Edit form.
If you use the "CreatTaskWithContentType" activity, to know the content type and open the appropriate Edit form, you need to remove Inherits=”True” attribute of the content type, and redeploy it, then use it in workflow to check whether it works.
You can refer to the following links to check whether there are steps that are missed:
http://mstechsharing.blogspot.com/2012/05/create-workflow-with-custom-task-form_7581.html
http://sp2013.pro/2013/03/creating-spd-2013-workflows-part-23-implementing-custom-asp-net-task-form/
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Is migrating open application workflows to process-controlled WFL required?
Dear forum members,
We have upgraded an SRM system from version 5.0 to 7.0 (SP 7) and we have gone live in SRM 7.0 with the old application-controlled workflows still being used for old and new documents.
We are in the process of changing the workflow to the new process-controlled (BRF) workflow and this works OK for new docments in our test systems.
Can you confirm if we MUST migrate the old workflows to the new BRF workflow when we activate the new p-c workflow into the live system?
I would prefer to have the old application-controlled workflow continue for existing document approvals and use the process-controlled workflow for new ones.
My questions are:
1. Can we use both application and process-controlled workflows together at the same time (new docs use p-c workflow, existing approvals to continue to use A-C workflow while they run down)?
2. If not, can we migrate SC n-step BADI workflow to the p-c workflow (report /SAPSRM/PR_WF_MIGRATION_CFG implies not)
Any help or advice is appreciated as always!
Thanks a lot,
Nickhello,
we are dealing with the same issue in a srm migration from 5.0 to 7.0.
We have a copy of the production system with a lot of open workitems based on application controlled workflows.
We build up new process controlled workflows and activated those for the new shopping carts.
The report for the migration (/SAPSRM/PR_WF_MIGRATION_CFG) of open workitems seems to be not sufficient, because
- all open workitems are going to be restarted, right?
we tried to approve old woritems from the powl, that seems to work. Simultaneously brf workflow works fine.
Right now we are wondering why it should not be possible to finish the old workitems application controlled and the new ones process controlled. Do we miss something?
Has anybody experiences based on customer projects?
kind regards
Carsten -
Maint. Order as Attachment in workflow decision step!!!!
Hi All,
I am making a workflow in which i want to attach the Maintenance Order in the Decision Step , is it possible or not.
How can i do attachment in Send Mail Step is there any provision.
Basically my requirement is like:-
When the User create the Maintenance Order a workflow should trigger which will go the SAP Inbox of the recipient now he has to see the maint. Order created and should approve if it can be Released or not .
When he does the approval the application should go for the another approval and when he approves the application is sent back to the workflow initiator.
Please suggest me what is the best way to do this scenerio. As i m very new to workflow so have only basic knowledge
Please help me out!!!!!
ThanksHi Rachit,
Have a look at std WF like WS20000014, WS20000021 etc..
It will give idea about maintenace order processing
Regarding your question about attaching objet to User decision, yes, its possible. Just Bind the Maintenance Order Object related container element to AdhocObjects elemnet of user decision.
Your overall process can be there will be 2 user decision steps.
Once these two steps approve, then you can use a third step with background task which will actually release the maintenace order. e.g. For this step you can use BAPI.
Hope this helps.
Regds,
Akshay
Maybe you are looking for
-
Liquify filter not working, please help!!!
Hi friends, I use Photoshop CS4 every day all day, as of this morning my liquify filter has stopped working and I am pulling my hair out trying to figure out why. I have already checked the obvious; I am working on the correct layer and 'show image'
-
I have got an Mac Pro, model MacPro3,1; 2xQuad-Core Intel Xeon; 2,8 GHz, early 2008. Boot-ROM-version: MP31.006C.B05; SMC-version: 1.25f4; Serialnumber: CK******XYL Since a month now the sytem is shutting down unexpectedly, sometimes durin
-
Hello Experts, Need to know How can I make the Field Profit Center in the line item level of the sales order to mandatory? Please help Regards,
-
Hi, how adding in MIRO an item position for unplanned costs? I woul like giving to users the possibility to post the above costs in <b>two ways simultaneously</b>: -Unplanned delivery costs are distributed among the invoice items; -Unplanned delivery
-
Hi. I have a structure where I have affiliate sale in one row and third party sale in the second. I need to display material groups under affiliate sale and sold to parties under third party sale. Of course i can drilldown by sold to party or materi