User ID check in Workflow
Hi Experts,
I have developed a workflow to send a mail whenever scheduling agreement is created or changed. Can I put a code to check which user has created the document so that I can decide to whom I should send the mail.
Supriya.
I think you can make an attribute in your custom Business Object which is a sub type of standard Bo and which is delegated to evaluate the user who created the agreement.
Thanks
Arghadip
Similar Messages
-
GUEST user issue in the workflow
Some of our users want to have the GUEST user profile option enabled to check the Workflow notifications so that they
don't have to login to approve the workflow notifications but they can be able
to approve notifications from the link they receive in the workflow email
notifications.
Everything looks ok but some custom workflows are unable to retrieve the details of the persons who approve or reject the notifications. It
returns the approver as GUEST and the rejector as GUEST.
Is there anyway we can remove the link which says "Please Click here to respond" from specific
workflows in the email notifiication?
Is there anyway to retrieve the approvers or the rejectors username or email address even though the GUEST user is enabled?
Please advice.
Thank You
--Pavan KYou can change it :
1) Login to Oracle Applications
2) Select Workflow Administrator Web Application responsibility
3) Then select Workflow Manager
4) Then Notification Mailer
Now edit the Notification Mailer Component's parameters. On 4th or 5th page , you will see some template configuration.
Open Mail Template : OPEN_MAIL ( "Workflow Open Mail (Templated)" )
Bounce Workflow Mailer Service and check it. -
How can I add a User to the transport workflow
Hi all,
I want to add one user to the transport workflow in BW Dev system? How can I do it, PLEASE.
Thanks.Hi,
Check this if you can reset the workflow if the configuration of old user get damaged instead of creating a new one.
http://help.sap.com/saphelp_erp2005/helpdata/en/06/1c3737f0e64142e10000009b38f839/frameset.htm
Please reward if it helps. -
Calling Transaction through User Decision step in workflow
Hi all,
Pls help me calling a transaction through User Decision step in workflow. I have attached two buttons to my User decision and the one of the outcomes to a task where I am calling the transaction through a method of BOR. But the problem is I am unable to see the transaction when I press the button on my User Decision at test run.
Can you ppl let me know how can I achieve this?
Pls reply ASAP...
Thanks
SangharshHello Sangharsh ,
Please Check the paramater of of the method which you define.
e.g. I define CALL_TCODE_CJ03 method
which have the parameters FLAG,ProjectDefinition,WBSElement2,User
with export, import checkbox.
Pass the paratmeres in programs
e.g.
BEGIN_METHOD CALL_TCODE_CJ03 CHANGING CONTAINER.
DATA:
FLAG(1),
PROJECTDEFINITION TYPE PROJ-PSPID,
WBSELEMENT2 TYPE PRPS-POSID,
USER TYPE USR21-BNAME.
SWC_GET_ELEMENT CONTAINER 'FLAG' FLAG.
SWC_GET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.
SWC_GET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.
SWC_GET_ELEMENT CONTAINER 'User' USER.
GET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.
GET PARAMETER ID 'PRO' FIELD WBSELEMENT2.
SET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.
SET PARAMETER ID 'PRO' FIELD WBSELEMENT2.
CALL TRANSACTION 'CJ03' AND SKIP FIRST SCREEN.
SWC_SET_ELEMENT CONTAINER 'FLAG' FLAG.
SWC_SET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.
SWC_SET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2. SWC_SET_ELEMENT CONTAINER 'User' USER.
END_METHOD.
I hope it will help you.
***Assigning points is the way to say thanks in SDN.***
Minaxi Shah -
Remove open workitem from user inbox after the workflow starts again.
I have heard that there is a possibility to remove a open workitem from the user inbox, after the workflow starts again for the same object (data update), via a termiantion event. I have searched in the sap workflow dokumentation but i could not find out how to use this. Could somebody provide me some detailed documentation or examples how to use this for my problem?
Thanks,
SteveHi Sudhir,
the workitem which should terminate is a decision task with two results. The wolkflow looks as follows:
Activity: Read Data
Decision: Approval Check Decision
Activities: Approve or Reject
How should it look like in your opinion with the termination? How looks this option to terminate this workitem? The workitem should terminate automatically from the userinbox if the workflow starts again for the same object (with updated data).
Thanks,
Steve
Edited by: Steve Malack on Mar 13, 2008 10:20 AM -
In one of site collection at our SP2013 farm, we have "SharePoint Server Publishing" site feature and "SharePoint Server Publishing Infrastructure" site collection feature activated.
One of user (UserA) create a page in a page library. The new page is marked as "checked out by UserA". It is fine.
Then UserA open the page -> edit page -> key in something and "save". Then the page prompt him "The file Pages/subfolder/test001.aspx has been modified by i:0#.w|test\userA on 8Aug2014 xx:xx:xx" and ask him to choose "Leave
this page" or "say at this page". The date time is exactly the time he was editing the page.
Whatever he choose will save the page and return to "View" mode (non-edit mode).
It is not the only problem. When userA want to edit the same page again and save, it prompt him that "The page could not be saved because your changes conflict with recent changes made by another user. If you continue, your changes will be lost."!
When userA choose continue or "check out". Follow screen show up:
What can we do? In summary, userA cannot edit a page because userA have checked out! We have tried for different users have exactly same issue.We are having the same problem, the one thing we have found is if we use the Save Icon on the top right hand side of the page in the ribbon (next to follow), that Save works just fine. What is causing the issue is when trying to use the Save Icon on
the left hand side of the ribbon that has the dropdown options to 'Save', 'Save and Keep Editing' or 'Stop Editing'. It doesn't matter if you just click on the main Icon or choose any of the dropdown options, they all cause issues with the pages.
Thoughts?
Nick Hurst -
My COM add-in is developed using VS 2010 and VB. It's a shared COM add-in (not VSTO) and it works with Excel 2007 - 2013. My installer is signed with a code signing certificate but it would appear that my add-in's .dll should also be signed if the user has
checked the "Require application add-ins to be signed by a trusted publisher" option.
The "Sign the assembly" option is checked in my add-in's VB -> My Project -> Signing. I have a .snk file selected which I seem to recall generating 6 or 7 years ago when I ported the COM add-in from VB6 to .NET.
I have an up-to-date Comodo code signing certificate (a pfx file called MyCompanyCodeSigningCertificatePrivateKey.pfx) which I purchased to use with the installer and was wondering if and how I could use this.
I tried selecting my pfx file in the My Project -> Signing -> "Choose a strong name key file" dialog. It made a copy of the pfx file in my project folder but when I tried to build the project, I got the following error:
Error 1 Cannot import the following key file: MyCompanyCodeSigningCertificatePrivateKey.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the
following key container name: VS_KEY_C0B6F251F0FB6016
After a little research, I found out I might be able to use signtool to sign the dll in a post-build step.
I added the following command to the post-build event, before the command I use to regasm the assembly.
"path to signtool\signtool" sign /f "MyCompanyCodeSigningCertificatePrivateKey.pfx" /p "xxxx" /v "$(TargetPath)"
When I built the project, the dll appeared to get signed (the output window showed a bunch of confirming text as well as "Successfully signed: c:\MyAddIn\bin\Release\MyAddIn.dll") but the next step in the post-build (regasm myaddin.dll /codebase)
issued a warning RA0000 (see below) but reported "Types registered successfully".
Here's the message I get from regasm, even though the output window says the dll was sucessfully signed:
RegAsm : warning RA0000: Registering an unsigned assembly with /codebase can cause your assembly to interfere with other applications that may be installed on the same computer. The /codebase switch is intended to be used only with signed assemblies. Please give your assembly a strong name and re-register it.
Types registered successfully
I'm not using a shim if that makes a difference.
How do I sign my add-in so it loads when the user has checked "Require application add-ins to be signed by a trusted publisher"?
Any tips would be appreciated.Hello,
Why do you need to use the regasm utility from the post-build action?
There is a difference between signing the assembly with a strong name and digital signature. The
How to: Sign an Assembly with a Strong Name article in MSDN explains how to sign an assembly with a strong name (.snk). See
How to digitally sign a strong named assembly for adding a digital signature.
You may also find the
What's the Difference, Part Five: certificate signing vs strong naming article helpful. -
No active writeable datasource found for user creation, check your Persiste
HI SAP Guru's
Suddenly when I am login in Portal with J2EE_ADMIN or any user , I am getting error
You are not authorized to access this application; contact your system administrator
and when I am going to create user in identity management I am getting below error
Current user has user creation permissions in the UME, but cannot create users in the back-end system (data source). The original and possibly untranslated message was: "No active writeable datasource found for user creation, check your Persistence Configuration.".
I have searched all related treads in SDN but no success
Please help.
Thanks & Regards
Vinay PatelDear all,
I was searching the community because I had this same error and there was no answer of how it was fixed. So I'm sending how I fixed today in a customer environment.
1. Go to portal http://<portal>/webdynpro/dispatcher/sap.com/tcsecumewdumeadmin/UmeAdminApp
- select configuration
- folder "sap system based in abap"
- do the conection test
If the test fails, log on in client 001 and change user SAPJSF:
- assign role SAP_BC_JSF_COMMUNICATION (only this one) and one profile that has permission to RFC logon
- you can change the password too
STOP/START ABAP+JAVA
Go again to the portal above and test connection again. The tests should now be OK.
2. Go to portal http://<portal>/irj
- Log on with administrator user
Now you should be able to create an user. -
Substituting WF-BATCH user in PO creation Workflow
Experts,
Looking for a bit of guidance on an issue that has been hanging around a while, and no one seems to be able to assist.
Here is the scenario: Purchasing P Req's are created, and workflow routes them to the appropriate releaser(s) for approval. The approver releases the P Req to be converted to a PO. This is where things start going wrong. We are looking to output the PO in an email (PDF) format to SCOT. This in itself isn't a problem, except that the workflow user WF-BATCH also creates emails for IS-U customers in a RAW format with the text in the body of the email. Including a PDF format within the node then converts the IS-U emails to PDF, which is out of the question. We have tried every(?) conceivable option within the INT node to accommodate both options within the same node.
Trying a different approach I have created another node under INT called 'SMTP', with the thought of routing the PO outputs to this using a user substitution in the workflow in association with OSS Note 311633, which effectively points the users output to the appropriate node via a PID.
I guess the 2 questions I have are:
1. Have I missed anything in the standard SCOT setup that could be utilised, and;
2. If the answer to 1 is 'No', whether my proposed 'solution' is achievable.
Many thanks in advance,
Paul...
Message was edited by: Paul BrownHi Sudhir,
the release is done with the BAPI function
BAPI_REQUISITION_RELEASE_GEN
Some of these BAPI's do offer an import element, saying "USER", where you can overwrite the current user with another one's ID, to avoid having the background user as the last change of the object.
In this case, this option is not available, so to say, there's nothing that can be fixed.
The solution to set and overwrite the release step with another user id, is exactly to change the change documents. So you've already found what you were looking for.
Best wishes,
Florin -
Can someone check my workflow for video editing?
I have a question about my workflow with my Adobe Products. I'm hoping someone can check my workflow.
I feel like I understand most of this process but I have a few questions listed below.
If someone could please read and tell me where I might be able to speed up my workflow I would be appreciative.
Any help is appreciated!!!!!!!!!
Questions-
• Why do my exports take so long with Premiere and Media Encoder?
• Why does Premier take anywhere from 5-10 minutes to fully load my projects?
• Why does Premier take so long to load my previously rendered preview files?
• Are my settings OK with Media Encoder?
• Why can't I get Media Encoder to export higher than a resolution of 786x524 for MP4?
Computer Specs:
MacPro, 2.8 Quad Core, 10GB RAM, ATI Radeaon HD 5770 1024MB, Mac OSX Mavericks 10.9.5
Software: Using Adobe CS 6 software,
A typical project for me:
Resolution 1000 x 563px, 10 minutes long, to be played/viewed on the Web.
My workflow and settings in more detail:
• I usually start in After Effects then move the AE comps into Premiere and edit with many other clips, then export to ProRes, finally I compress that ProRes file (Adobe Media Encoder) to a variety of necessary formats.
I start with After Effects and create about 20 or 30 projects, each is anywhere from 5 seconds to 30 seconds long.
I start a new Premier Project (Preview Files set to QT, H.264, 1000x563px) and import the AE comps directly into Premiere.Premiere has to render my AE comps but I like the flexibility of being able to "go-back" and alter my AE file, it auto updates in Premiere
I edit all my clips in Premiere, my entire timeline is rendered and has the Green Line.Anytime I close my project and reopen it. Premiere takes about 5-10 minutes to load the project. Premiere initially opens quickly but takes a long time to link up all the rendered preview files. This seems way too long
Upon finalizing my project in Premiere I export out to ProRes 422.
Settings For this is: Export Video, Same Resolution as project, Quality 100%, 30fps, Progressive, Square Pix, 24bit, Use Max Render Quality, Use Frame Blending.
For my 10 minute animation this takes about 45 minutes. I feel like that's OK. My AE clips can be a bit heavy with stills, particles, effete and etc
This results in about a 11GB ProRes file. Does that sound right?
I now have a fantastic ProRes copy of my hard earned work.... but I need to encode it to get it on the web, to clients, to friends, to the Universe.
I import this file into Adobe Media Encoder. I need to get this into 3 different formats, .H264, FLV and .MP4. This processes usually take about 12 hrs for me. Seems too long.
MP4 settings: Multiplexer MP4/ Standard, Dimensions I can't get them above 786x524 this is frustrating, Level: Advanced Level 5, VBR 1pass 1,500
FLV Settings: Format FLV, Dimensions 1000x563, VBR 2 pass, Bitrate 1,200, default target rates and Key Frame
h.264 settings: Codec H.264, Dimensions 1000x563, 30fps, Progressive, Square Pix, Optimized Stills, Bit Rate 1,500
That's about it.You're missing the JSTL JAR's in the classpath.
-
User equivalence check failed in solaris 10
Hi,
i am trying to install oracle clusterware on solaris10.
when i executed clusture varification utility , user equivalence test is failed.
each node have same username,userid,group id
and i configured SSH also using
exec /user/bin/ssh-agent
/usr/bin/ssh-add after generation of rsa and dsa keys and putting this to authorization file.
it is not asking password for ssh and scp after executing this command but again user equivalence check failed
but after logging of and do login again to oracle user its not working. then again i have to set ssh that is
exec /user/bin/ssh-agent
/usr/bin/ssh-add
wat else i have to check for this?
can sombody help me to solve thisUmesh Gupta wrote:
Thay are same, i have already taken care of that..
Node1:-
$ id oracle
uid=101(oracle) gid=300(oinstall)
Node2:-
$ id oracle
uid=101(oracle) gid=300(oinstall)
Please suggest..
Regards
Umesh$exec /usr/bin/ssh-agent $SHELL
$/usr/bin/ssh-add
on any one of the nodes
and check the output of cluvfy
also refer the link:-
http://download.oracle.com/docs/cd/B28359_01/install.111/b28263/crsunix.htm#BEHIHBBF
User equivalence check failed (RAC setup)
Edited by: rajeysh on Aug 18, 2011 7:09 PM -
Result: User equivalence check failed for user "oracle".
While installing on Solaris-10, ssh, rlogin, scp works fine.
Running runcluvfy.sh stage -post hwos -n rac-1,rac-2 -verbose returns the above error.
Result: User equivalence check failed for user "oracle".
ERROR:
User equivalence unavailable on all the nodes.
Verification cannot proceed.
/bin/ssh & /bin/scp is in use.Hello,
I am facing User equivalence check failed for user "oracle" error on my newly to be built RAC cluster.
The Oracle users have been created identically and ssh have been setup as per RAC installation manual.
Still I am facing the below problem. Please help me out
Node1 > uname -a
Linux purple-rac-node2 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Node2 > uname -a
Linux purple-rac-node1 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
clusterware/cluvfy/runcluvfy.sh stage -post hwos -n purple-rac-node1,purple-rac-node2 -verbose
Performing post-checks for hardware and operating system setup
Checking node reachability...
Check: Node reachability from node "purple-rac-node1"
Destination Node Reachable?
purple-rac-node2 yes
purple-rac-node1 yes
Result: Node reachability check passed from node "purple-rac-node1".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
purple-rac-node2 failed
purple-rac-node1 failed
Result: User equivalence check failed for user "oracle".
ERROR:
User equivalence unavailable on all the nodes.
Verification cannot proceed.
[oracle@purple-rac-node1 ~]$ id oracle
uid=501(oracle) gid=501(dba) groups=501(dba),502(oper),503(oinstall)
[oracle@purple-rac-node2 ~]$ id oracle
uid=501(oracle) gid=501(dba) groups=501(dba),502(oper),503(oinstall) -
Runcluvfy.sh failed on user equivalence check for user "oracle"
I have user oracle set up on both nodes -RHEL5 as:
uid=505(oracle) gid=87(oinstall) groups=87(oinstall),88(dba)
but when run the runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
get the ERROR:
user equivalence check failed for user "oracle"
user equivalence unavailable on all the nodes.
Help appreciated!When you test this, are you using the fully qualified domain name (FQDN) like node1.domain.com or just node1? Oracle is most likely using the FQDN, so if you did "ssh node1 date" and that worked fine, I'll bet that "ssh node1.domain.com date" will result in a prompt to authorize the host first and that's probably the issue.
I also usually ssh over the private interface as well. That is, do both of these from the node where the installer runs:
ssh node2.domain.com date
ssh node2-priv.domain.com date ### assuming that node2-priv is the name of the private network interface
Let us know if that's the issue.
Dan -
RUNCLUVFY Result: PRVF-4007 : User equivalence check failed for user "orac
hello
try to run runcluvfy.sh I receive the following screen rac2 is passed but rac 1 is failed can sombody help me?
thanks
[oracle@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "rac1"
Destination Node Reachable?
rac2 yes
rac1 yes
Result: Node reachability check passed from node "rac1"
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
rac2 passed
rac1 failed
Result: PRVF-4007 : User equivalence check failed for user "oracle"
WARNING:
User equivalence is not set for nodes:
rac1
Verification will proceed with nodes:
rac2
Checking node connectivity...Check this older thread which has a lot of information on this:
User equivalence check failed (RAC setup) -
CLUVFY failing with 'User Equivalence check failed for...'
New 2 node RAC configuration. Oracle 10gR2, Linux RHEL 5 x64. I'm at the post hardware config, pre install clusterware stage.
Running the cluster verification utility command:
cluvfy comp sys -n node-01,node-02 -p crs -verboseReturns the following error:
Verifying system requirement
ERROR:
User equivalence unavailable on all the nodes.
Verification cannot proceed.
Verification of system requirement was unsuccessful on all the nodes.I've verified the following:
1) RSA keys correctly configured on both nodes and I can ssh between without a password
2) ping ip and private work correctly to and from both nodes.
3) user, group ids are identical on both systems.
I also ran cluvfy stage -post hwos -n node-01,node-02 -verbose and received the following output. This output is from node-01. node-02's is identical, except with equivalence to itself failing.
Checking node reachability...
Check: Node reachability from node "node-01"
Destination Node Reachable?
node-02 yes
node-01 yes
Result: Node reachability check passed from node "node-01".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
node-02 passed
node-01 failed
Result: User equivalence check failed for user "oracle".
WARNING:
User equivalence is not set for nodes:
node-01
Verification will proceed with nodes:
node-02
Checking node connectivity...I get the same behavior on both nodes. Not quite sure what else to check. Any thoughts or suggestions? Thanks.No, no banners. And I followed note 300548.1 to the letter. Several times :-)
However, I believe my issue has to do with a CVUHOME/cv/admin/cvu_config.
According to the documentation:
CV_XCHK_FOR_SSH_ENABLED—If set to TRUE, it enables the X-Windows check for verifying user equivalence with ssh. By default, this entry is commented out and X-Windows check is disabledIt was not, unfortunately, disabled by default - once I set it to false, everything succeeded. I still need to figure out why XCHK itself is failing, but I think I can troll through the log to figure that out.
Maybe you are looking for
-
Mini- DVI to VGA adapter Or is that, DVI to DVI?
I am having difficulty figuring out which adapter to purchase if I want to use my MacBook to make a Keynote or PowerPoint Presentation with an LCD projector. Do I need the Mini- DVI to VGA adapter, or is it DVI to Video adapter, or DVI to DVI adapter
-
The computer I usually pair my iphone 4 with has BROKEN. How do I change the pairing to another computer. I tried to pair it to my other computer and it tells me I have to delete everything on the iphone to continue. I have alot of items purchased
-
My dad is reading my imessages!
my dad and i share an apple id for our music and contacts and such, when i syned my iphone, i got imessage, but since icloud came with it, my dad gets all of my imessages! how do i make sure he does not receive my imessages?
-
Hi, I have got a peculiar senario while executing a query. The query result is not matching with the line items sum. i have checked the definition of result, which is as nothing defined. When I check for the same values in another query, and correlat
-
Setting size of paper during print
Hi I have two printers attached to the system, one is the regular printer and the other is a barcode printer. I changed the default setting of the barcode printer through windows, and I am calling the print dialog through my java code. When I select